Running a Macro Upon Layout Change

A macro command or a macro can be run upon layout change.

  1. Display the layout manager by the View > Layout > Layout Manager command.

  2. Select the layout by displaying of which the macro function will run and select the Commands check box.

  3. The following box appears on the right side:

  4. Select the timing. The before option will run the command when you click on the layout tab, but before actually changing the layout. The after option runs the command right after the layout is changed.

  5. When the field is enabled, type the command or insert it via the pull-down menu.