Is it possible to toggle the visibility of an array of worksheets rather than one worksheet at a time?
I know this code wouldn't work if you tried, but I'm thinking something like this:
Dim ShtNames as Variant
ShtNames = Array("01", "02", "03")
ShtNames.Visible = True
I know I could run a for loop through the array to show each sheet's visibility individually, but I was hoping that I could just do them at the same time. Any help would be appreciated.
Thanks
I know this code wouldn't work if you tried, but I'm thinking something like this:
Dim ShtNames as Variant
ShtNames = Array("01", "02", "03")
ShtNames.Visible = True
I know I could run a for loop through the array to show each sheet's visibility individually, but I was hoping that I could just do them at the same time. Any help would be appreciated.
Thanks