James thunderbolt
Member
Say Row 1 Column 8 (A8) has the title "STARTING RANGE".
Can I use VBA code to search Row 1 for the exact word "STARTING RANGE" and use that column number (8) as my Integer Variable ? If someone starts moving the spreadsheet around I don't want to have to manually change the code every time to use a new column number
P.S. I can't put a name on the cell (A8) and look for that - which is what I have done previously, as this data set gets exported from an external source (which is not uniform).
Appreciate any suggestions.
Thanks
JT
Can I use VBA code to search Row 1 for the exact word "STARTING RANGE" and use that column number (8) as my Integer Variable ? If someone starts moving the spreadsheet around I don't want to have to manually change the code every time to use a new column number
P.S. I can't put a name on the cell (A8) and look for that - which is what I have done previously, as this data set gets exported from an external source (which is not uniform).
Appreciate any suggestions.
Thanks
JT