Attach these macros to custom toolbar buttons (you can store them in
your Personal.xls file to make them available to all workbooks):
Public Sub HideCols()
On Error Resume Next
If TypeName(Selection) = "Range" Then _
Selection.EntireColumn.Hidden = True
On Error GoTo 0
End Sub
Public Sub HideRows()
On Error Resume Next
If TypeName(Selection) = "Range" Then _
Selection.EntireRow.Hidden = True
On Error GoTo 0
End Sub
Public Sub UnHideCols()
On Error Resume Next
If TypeName(Selection) = "Range" Then _
Selection.EntireColumn.Hidden = False
On Error GoTo 0
End Sub
Public Sub UnHideRows()
On Error Resume Next
If TypeName(Selection) = "Range" Then _
Selection.EntireRow.Hidden = False
On Error GoTo 0
End Sub