Adding a Command Button to a Document
You can use the Form Controls toolbar to add checkboxes, buttons, tables showing data records, and other controls to a document.
To Add a Button to a Document
-
Choose
. -
On the Form Controls toolbar, click the Push Button icon.
The mouse pointer changes to a cross-hair.
-
In the document, drag to draw the button.
-
Right-click the button and choose Control.
-
Specify the properties of the button.
-
To change the button label, click the General tab, and edit the text in the Label box.
-
To attach a macro to the button, click the Events tab, and click the ... button beside the button action that you want to run the macro. In the Assign Macro dialog, locate the macro that you want to use, and then click OK.
-
Close the Properties dialog.
-
(Optional) Specify the properties of the form that the button belongs to.
-
Right-click the button and choose Form.
-
The Form Properties dialog opens.
-
Specify the properties for the form and then close the dialog.