Export (0) Print
Expand All

Run, edit, or debug a macro

Expression Studio 2.0

A macro can perform a single task, or many tasks at once. Macro functionality depends on the code written for the macro.

To run a macro

  1. On the Tools menu, point to Macro, and then click Macros.

  2. Click the macro, and then click Run.

    Cc295527.alert_note(en-us,Expression.10).gifNote:

    You can undo actions that a macro performs the same way that you undo other actions in Microsoft Expression Web: on the Edit menu, click Undo (or just press CTRL + Z).

To edit a macro

  1. On the Tools menu, point to Macro, and then click Macros.

  2. Click the macro, and then click Edit.

  3. When you click Edit, the Microsoft Visual Basic Editor opens with the macro's subroutine open for editing.

To debug a macro

  1. On the Tools menu, point to Macro, and then click Macros.

  2. Click the macro, and then click Step Into.

  3. When you click Step Into, the Visual Basic Editor opens with the first line of code in the macro highlighted and with program execution halted. Press F8 in the Editor to execute the first line of code and step to the next. For more information about debugging, see Help in the Visual Basic Editor.

Community Additions

ADD
Show:
© 2014 Microsoft