Ok I have the header rows the same as the destination sheet and have a macro that combines all the workbooks into one workbook, but with sheet names that are taken from the workbook. Using the following code
I then use the following macro to format the sheets:
but when I try to consolidate random columns I get the following error:
Run-time error '9':
Subscript out of range
using the following macro:
the offending line is
I thought I had done everything correctly but apparently not. Attached are files that can help to troubleshoot the problem
Bookmarks