Choose the macro that you want to execute when the selected graphic, frame, or OLE object is selected. Depending on the object that is selected, the function is either found on the Macro tab of the Object dialogue box, or in the Assign Macro dialogue box.
Lists the events that are relevant to the macros that are currently assigned to the selected object.
The following table describes the macros and the events that can by linked to objects in your document:
|Event||Event trigger||OLE object||Graphics||Frame||AutoText||ImageMap area||Hyperlink|
|Click object||Object is selected.||✓||✓||✓|
|Mouse over object||Mouse moves over the object.||✓||✓||✓||✓||✓|
|Trigger Hyperlink||Hyperlink assigned to the object is clicked.||✓||✓||✓||✓|
|Mouse leaves object||Mouse moves off of the object.||✓||✓||✓||✓||✓|
|Graphics load successful||Graphics are loaded successfully.||✓|
|Graphics load terminated||Loading of graphics is stopped by the user (for example, when downloading the page).||✓|
|Graphics load faulty||Graphics not successfully loaded, for example, if a graphic was not found.||✓|
|Input of alpha characters||Text is entered from the keyboard.||✓|
|Input of non-alpha characters||Non-printing characters are entered from the keyboard, for example, tabs and line breaks.||✓|
|Resize frame||Frame is resized with the mouse.||✓|
|Move frame||Frame is moved with the mouse.||✓|
|Before inserting AutoText||Before a text block is inserted.||✓|
|After inserting AutoText||After a text block is inserted.||✓|
Choose the macro that you want to execute when the selected event occurs.
Frames allow you to link events to a function, so that the function can determine if it processes the event or Office Writer.
Lists the open Office documents and applications. Click the name of the location where you want to save the macros.
Lists the available macros. Click the macro that you want to assign to the selected object.
Assigns the selected macro to the specified event. The assigned macro's entries are set after the event.
Removes the macro that is assigned to the selected item.
Select the macro that you want to assign.