I am trying to automate doing the following to each tab in a workbook with a lot of tabs.
Set the zoom to 100%
Unfilter data
Expand all row and column groupings
Control + home (so that when the next user opens the spreadsheet the view is of the top left of the spreadsheet)
So far I have a macro which flips to each tab and does all of this. But, it is a pain to update this each time a tab is added or deleted. I suspect there is an easy way to loop through each tab without naming each tab but I don't know enough about VBA to do it myself.
Thanks!
Set the zoom to 100%
Unfilter data
Expand all row and column groupings
Control + home (so that when the next user opens the spreadsheet the view is of the top left of the spreadsheet)
So far I have a macro which flips to each tab and does all of this. But, it is a pain to update this each time a tab is added or deleted. I suspect there is an easy way to loop through each tab without naming each tab but I don't know enough about VBA to do it myself.
Thanks!