Article ID: 154904
Article Last Modified on 10/11/2006
Sub check_button()
' Loop through all the toolbar buttons on the Standard toolbar.
For Each x In Toolbars("standard").ToolbarButtons
' Check each toolbar button to see if it is the "Set Print
' Area" toolbar button.
If x.Name = "Set Print Area" Then
' Display a message box if the "Set Print Area" button is
' found.
MsgBox x.Name
End If
Next
End Sub
how to customize toolbars
toolbars, customizing
Additional query words: 5.00a 5.00c 7.00a XL
Keywords: kbcode kbhowto KB154904