How to create/record macro to save the sheet in a separate excel & perform some action on the sheet
In the last article , we learnt what macro is and how to create it for performing repetitive tasks on the same work book, just on a single click of button. In this article, we will be learning about how to create macro to take data from current workbook sheet, perform manipulation in new book and save it at desired location just on the click of keyboard short cut. During the manipulation we will create a pivot table. This is the basic example with limitation that once macro is run. You would need to close and reopen macro enable excel before running it again. In upcoming articles, we will talk about removing this limitation. The sample macro enabled excel can be accessed from here . On running the macro on the click of 'Ctrl + y ', It generates the excel at 'C:\temp\excel\NewWorkbook' location. Please ensure that this location exists in your computer before running the macro. If you wish to create the macro using coding rather than recording. Sample c...