Tash Point O
New Member
- Joined
- Feb 12, 2018
- Messages
- 47
Hello All,
Wracking my brain. I have a report that spits out a random amount of "nuisance" columns that I always have to delete as they are not important to my report.
The amount of these annoying columns can vary from 2-6 columns (usually), depending on the data. So I CAN'T built a macro saying delete columns U-AA, because again, the column range varies every time, and not all have headers/label.
What IS consistent is where these columns are wedged; in between 2 columns (Per pic below AA and AE) that have always have the same header (though the range of the right most column will vary as it depends on how many of these nuisance columns are created).
How can I make a macro that deletes all columns IN BETWEEN these 2 columns?
Wracking my brain. I have a report that spits out a random amount of "nuisance" columns that I always have to delete as they are not important to my report.
The amount of these annoying columns can vary from 2-6 columns (usually), depending on the data. So I CAN'T built a macro saying delete columns U-AA, because again, the column range varies every time, and not all have headers/label.
What IS consistent is where these columns are wedged; in between 2 columns (Per pic below AA and AE) that have always have the same header (though the range of the right most column will vary as it depends on how many of these nuisance columns are created).
How can I make a macro that deletes all columns IN BETWEEN these 2 columns?

Last edited: