I am trying to search through a workbook that only will have 1 tab. I want to search for column names, as sometimes they will have less columns depending on how the reports are generated.
I want to copy that column, minus the header, into a table on a worksheet in a completely different workbook. I use the OpenFileDialog to select the report to copy from. The VBA code is on the workbook that is being pasted into, so it will be open.
Here is the code I have tried. I get a "Run-time error '13': Type Mistmatch" Error
Also tried this
this code is in a module on the workbook being copied into.
Bookmarks