hello,
I want to create a macro that matches each record from a worksheet I call "ATemplate" with another worksheet I call "BTemplate" using an unique ID (the ID row title is called "AT2RecID") that exists in both worksheets. For the sake of simplicity I only used several records as opposed to the thousands that I have in both worksheets. The workbook I provide with this post includes the following worksheets:
- ATemplate
- BTemplate
- Output Results
What I want the Macro to create in a new worksheet is the example found under worksheet "Output Results". In worksheet "Output Results" row titles should start IN ROW 2 and the data should start IN ROW 3. Row Titles B THROUGH M along with its associated data from worksheet "ATemplate" come over to the "Output Results" worksheet and Row Titles O and P along with its associated data from worksheet "BTemplate" come over to the "Output Results" worksheet. Again the records are matched up by the row title "AT2RecID" found in both worksheets "ATemplate" and "BTemplate". I understand I can do this in Access, but I would really like to see how it works in VBA.
thanks much!
Bookmarks