G
Guest
I got a type mismatch run-time error on the line to set the range.
I just want to hide columns 0 - Z or columns 16-26.
Can you help me set the range right?
thanks,
Sub HideXtraCells()
Dim rng As Range
' HideCells Macro
Set rng = Columns("0:Z")
rng.EntireColumn.Hidden = True
End Sub
I just want to hide columns 0 - Z or columns 16-26.
Can you help me set the range right?
thanks,
Sub HideXtraCells()
Dim rng As Range
' HideCells Macro
Set rng = Columns("0:Z")
rng.EntireColumn.Hidden = True
End Sub