Hi,
I have some VBA I wrote that will iterate through a range of columns and, based on the value in a given row, will show or hide that column. The problem is, the number of columns I'm going through is quite large, and running the macro takes forever, and shuts down my system. It's literally faster to manually identify the columns to show and hide and do it myself.
So, my question is: is there a more efficient way to do this?
Here's the code I have now (ws is Worksheet object referencing the current tab):
As you can see from above, the columns are all dated, and each day I'm hiding the columns that are not for today and showing only the current day's columns.![]()
Please Login or Register to view this content.
Any help on this would be appreciated!
Thanks,
Stephen
Bookmarks