Create a macro

Microsoft Office FrontPage 2003

Show All Show All

Create a macro

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

  2. In the Macro name box, type a name for the macro, and then click Create.

    Macro names cannot contain spaces or punctuation marks, but you can use underscores. For example, you can use Macro1 or Macro_1, but not Macro 1.

  3. In the Visual Basic Editor, type or copy your code into the module window.
  4. If you want to run the macro from the module window, press F5.
  5. When you're finished creating your macro, click Close and Return to Microsoft FrontPage on the File menu.