Relative Content

Tag Archive for excelmacros

Copy and paste if the cell value starts with certain letter

In Column A, there is data which contain question, choices and other data. The choices starts with A B C D in each row. I just need to copy the CHOICES and QUESTION and paste into next columnB. Sample data as shown below. I tried the below code from this site, but it copies only the first letter of cell value not the entire cell and also it doen not copy all values from the columA.

Run multiple macros in a workbook from another workbook

I have a Master Macro workbook which consists of multiple macros, basically it consists of a Generate Separate Files worksheet which has a dropdown to select a specific values and there is button next to that cell to run macro for the selected value, so the moment I select the value in the Generate Files worksheet cell and hit run macro button, it first does the save as of the master macro file itself with the name/value I had selected in the cell and then filters out the data from each of the worksheets in the master macro workbook to retain only the data of the selected value, so like this I have to open the master macro file workbook multiple times select the value in Generate Separate Files worksheet cell and click run macro. I want to create another macro workbook which can open the master macro workbook select value in the validation dropdown of “Generate Separate Files Worksheet” and run the macro for each value and generate the separate files for each selected files.