I've been working on this macro to consolidate multiple workbooks, everyone on here has helped me a lot. I have one last thing (hopefully) that I can't seem to figure out.
In the source workbooks, I'm only copying the data from 1 sheet, however, that data references a table in a separate sheet in the same source workbook. When I copy the data, the formula that looks up the data in the table is copied and just shows a "N/A". Instead, I would just like the final values as once I consolidate the data, I no longer need the connection to the table, just the data.
This is the code I'm using
The formula I'm using in the source workbook to look up the table values is
I actually have another cell (W10) on the same source worksheet that references another table on the same (different) worksheet as the formula above. If that first formula (the one below) returns "PCPM" then the first formula above looks up a value on the second table. This first formula (below) seems to consolidate to the master workbook just fine.
Any ideas?
Bookmarks