Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub CollectToolbarStatus()
Set ws1 = Worksheets.Add
With ws1
r = 1
For Each tb In Application.Toolbars
.Cells(r, 1).Value = tb.Name
.Cells(r, 2).Value = tb.Visible
r = r + 1
Next
.Name = "tb"
.Visible = xlSheetVeryHidden
End With
End Sub
Sub ResetToolbarStatus()
Application.DisplayAlerts = False
With Sheets("tb")
For Each t In .Range(.Cells(1, 1), .Cells(1, 1).End(xlDown))
With t
Application.Toolbars(.Value).Visible = .Offset(0, 1).Value
End With
Next
.Visible = xlSheetVisible
.Delete
End With
Application.DisplayAlerts = True
End Sub