Hi guys,
I have the following code which i am trying to use to hide a few of the same columns in each sheet of my workbook. However it only hides the columns in the activesheet. Is there something that I am missing?? THanks!
I have the following code which i am trying to use to hide a few of the same columns in each sheet of my workbook. However it only hides the columns in the activesheet. Is there something that I am missing?? THanks!
Code:
Sub UnhideWorksheetsktoAT()
' UnhideWorksheetsktoAT Macro
' Testing - use to open up worksheets where calcs are
'
Dim wsSheet As Worksheet
For Each wsSheet In Worksheets
Columns("m:Av").Select
Selection.EntireColumn.Hidden = True
Next wsSheet
End Sub