Restore Toolbars : Excel Toolbar « Excel « VBA / Excel / Access / Word






Restore Toolbars

 
Sub RestoreToolbars()
    Dim mySheet As Worksheet
    Set mySheet = Sheets("mySheet")
    Application.ScreenUpdating = False

    On Error Resume Next
    For Each cell In mySheet.Range("A:A").SpecialCells(xlCellTypeConstants)
        CommandBars(cell.Value).Visible = True
    Next cell
    Application.ScreenUpdating = True
End Sub

 








Related examples in the same category

1.Hide All Toolbars