Okay... I'm new so bear with me as I try to type what I'm trying to accomplish.
I have reports that are received each month that have the report details in the rows above the actual header row. These details, such as run time, date, etc. are not needed so I need to remove these rows, pulling the header row to the top along with moving the data up with it.
Problems:
- Some files are .xls and some are .xlsx (the process I have now ignores the .xls file for some reason)
- I'm searching for a key word in the header row but need to search two (can't figure that out) since not all files contain the first word in the header.
Note: the number of rows above the header in each file varies... some three rows, others have more.
I found some info on this and tried to modify to search for the second word if the first word was not found. I'm here because it doesn't work. Any help you all could provide would be greatly appreciated.
Please Login or Register to view this content.
Bookmarks