makeitwork09
Technical User
I am using Excel 2007.
We are receiving a file each month that has a slightly different name each month and the number of rows can change each month, however, the routines we need to do will be the same each month. The routines include:
(1) in one of the two worksheets create a sumif if formula (note the number of rows changes each month to perhaps none to a few)
(2) all the following steps are in another worksheet, where the number of rows can change each month, in the same workbook starting in the next available column
* use an index match array formula to get the records from step 1
* the next two available columns have formulas from other columns in the worksheet
I am only used to creating macros for a workbook that is used over and over again, not for workbooks that we receive from someone else and that the number of rows can change each month.
What is the best way to approach creating macro code to perform the above steps after the workbook is received each month?
Thanks
We are receiving a file each month that has a slightly different name each month and the number of rows can change each month, however, the routines we need to do will be the same each month. The routines include:
(1) in one of the two worksheets create a sumif if formula (note the number of rows changes each month to perhaps none to a few)
(2) all the following steps are in another worksheet, where the number of rows can change each month, in the same workbook starting in the next available column
* use an index match array formula to get the records from step 1
* the next two available columns have formulas from other columns in the worksheet
I am only used to creating macros for a workbook that is used over and over again, not for workbooks that we receive from someone else and that the number of rows can change each month.
What is the best way to approach creating macro code to perform the above steps after the workbook is received each month?
Thanks