Hello!
This is my first time posting here.
I am teaching myself to write VBA macros, and encountered this requirement:
I am joining hundreds of pairs of client workbooks from the same directory, one for the Type 1 commission workbook and one for the Type 2 commission workbook, for each client, into 1 workbook with two tabs.
What’s the correct code in VBA to accomplish this?
I have attempted to piece together solutions, but have not figured out how to open, copy and close many unique workbooks, while looping through a directory containing similar pairs of files.
I can send examples of the workbooks to be joined, if needed.
Any help you can offer would be greatly appreciated!
Thanks!
This is my first time posting here.
I am teaching myself to write VBA macros, and encountered this requirement:
I am joining hundreds of pairs of client workbooks from the same directory, one for the Type 1 commission workbook and one for the Type 2 commission workbook, for each client, into 1 workbook with two tabs.
What’s the correct code in VBA to accomplish this?
I have attempted to piece together solutions, but have not figured out how to open, copy and close many unique workbooks, while looping through a directory containing similar pairs of files.
I can send examples of the workbooks to be joined, if needed.
Any help you can offer would be greatly appreciated!
Thanks!