Hi all
Great to be here in this forum.
Just a question , i have this VBA for toggle hiding/showing a range of rows as below (rows 268 to 279) which works no problem
Private Sub ToggleButton22_Click()
Dim xAddress As String
xAddress = "268:279"
If ToggleButton22.Value Then
Application.ActiveSheet.Rows(xAddress).Hidden = True
ToggleButton22.Caption = "S"
Else
Application.ActiveSheet.Rows(xAddress).Hidden = False
ToggleButton22.Caption = "H"
End If
End Sub
My question would be how would i get this to have multiple ranges for example as above for
rows 268:279 AND rows 68:79 AND 92:103 all on the same toggle?
Thanks in advance
Steve
Bookmarks