Good morning folks,
With lots of help from browsing this forum and asking a few questions I have finally gotten my large macro to work. I have broken it down into pieces and I have a master macro to call each piece. This makes it easier to tweek the behaviour.
Anyway, one of my subroutines searches row one for certain column headers and deletes the columns that don't contain my search criteria.
The thing is there are about one hundred columns and this part of the macro takes just under 4 minutes to run.
Can anyone suggest a way of making it run more efficiently please.
Here is the code. My search criteria usually appear roughly in order so I am going to start by reversing the order in which they are listed in my code.
I have actual search items for privacy reasons.
I would appreciate anyones input that could help reduce the runtime of the above routine which as I said is just under 4 minutes.
Thanks in advance.
Bookmarks