Hello,
I'm new to VBA and am reading "VBA and Macros for MS Office Excel 2007" and "Excel with VBA & .Net" but do not as yet know how to tackle the following:
I have numerous workbooks in a directory that I want to combine into a master workbook but why I am posting is because I haven't read a previous post that just copies ranges from three sheets in each workbook to the correspondingly named worksheets in the master. In other words, I want to preserve the master workbook and copy over the existing ranges with the data in the new incoming individual workbooks. I plan on using the same range for each (I have the toals in a row number that is static. I don't need to check for the end of the data range and adjust (I'll save that endeavor for a later date).
I see many programs that create a new master from individual workbooks in a directory but haven't found an example that loops through a directory and just copies each spreadsheet's contents to its corresponding sheet in the master.
THanks in advance for all responses. It is wonderful to be able to get answers to problems I have now while I am trying to learn!
I'm new to VBA and am reading "VBA and Macros for MS Office Excel 2007" and "Excel with VBA & .Net" but do not as yet know how to tackle the following:
I have numerous workbooks in a directory that I want to combine into a master workbook but why I am posting is because I haven't read a previous post that just copies ranges from three sheets in each workbook to the correspondingly named worksheets in the master. In other words, I want to preserve the master workbook and copy over the existing ranges with the data in the new incoming individual workbooks. I plan on using the same range for each (I have the toals in a row number that is static. I don't need to check for the end of the data range and adjust (I'll save that endeavor for a later date).
I see many programs that create a new master from individual workbooks in a directory but haven't found an example that loops through a directory and just copies each spreadsheet's contents to its corresponding sheet in the master.
THanks in advance for all responses. It is wonderful to be able to get answers to problems I have now while I am trying to learn!