DELETE.TOOL

Macro Sheets Only

Equivalent to selecting a button and dragging it to an area other than a toolbar. Deletes a button from a toolbar.

Syntax

DELETE.TOOL(bar_id, position)

Bar_id specifies the name or number of a toolbar from which you want to delete a button. For detailed information about bar_id, see ADD.TOOL.

Position specifies the position of the button within the toolbar. Position starts with 1 at the left side (if horizontal) or at the top (if vertical).

Related Functions

ADD.TOOL Adds one or more buttons to a toolbar

ADD.TOOLBAR Creates a new toolbar with the specified buttons

DELETE.TOOLBAR Deletes custom toolbars

List of Command-Equivalent Functions