Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have daily production workbooks that I need to combine into a monthly total
workbook. They each have the same layout/format etc. I just need to step through each workbook in a directory and add the numbers to the monthly total workbook. Is it possible to use a for...each loop? If so, what is the correct syntax? eg... dim wkb as workbook for each wkb in <Path wkb.open 'add numbers to ThisWorkbook wkb.close next wkb where <Path is the same directory as ThisWorkbook (which contains the code) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Several files open from workbook, how to do that? | Excel Discussion (Misc queries) | |||
Combining files to one workbook | Excel Discussion (Misc queries) | |||
one workbook, multiple .xls files | Excel Discussion (Misc queries) | |||
Select sheet tabs in workbook & save to separate workbook files | Excel Worksheet Functions | |||
merging different workbook files | Excel Worksheet Functions |