Edit Method

Applies To

ToolbarButton Object.

Description

Starts the button editor for the specified toolbar button.

Syntax

object.Edit

object

Required. The ToolbarButton object.

Remarks

This method cannot be used with a toolbar button that is a gap or a toolbar button that has a palette or list attached (such as the Font or Style buttons).

Example

This example starts the button editor for the Print button, which is button five on the Standard toolbar.


Application.Toolbars("Standard").ToolbarButtons(5).Edit