OK. there are methods in the Workbooks collection that allow you to open and close workbooks. Say, for example, you want to open a file that contains a workbook.
assuming all is well opening this file, theMonthBook can now be manipulated.
Say you want to transfer data from one of the daily sheets to this monthly workbook, sheet 1. Let "theDailySheet" be the daily sheet you want to transfer the data from:
r1, r2, c1, and c2 are the rows and columns of the cells that you want to move the data between. In your problem, you know the daily sheet location. You have to figure out which row of the monthly sheet to use. That would depend of the day of the month.
Then you close the monthly book by
Does this help? Let me know f you need more.
Bookmarks