About macros

Microsoft Office FrontPage 2003

Show All Show All

About macros

If you perform a task repeatedly in Microsoft FrontPage, you can automate the task with a macro. A macro is a series of commands and functions, stored in a Microsoft Visual Basic module, that you can run whenever you need to perform the task.

For example, you can use macros to create new pages and apply templates to them.

The Visual Basic Editor is a program designed to make writing and editing macro code easy to learn for beginners, and it provides plenty of Help. You don't have to learn how to program or use the Visual Basic language to create a macro. By using the Visual Basic Editor, you can create new macros, edit existing macros, or copy macros from one module to another or between different pages. You can also rename macros or modules that store macros.

After you create a macro, you can run it by choosing it from a list in the Macro dialog box. To make a macro run whenever you click a particular button, you can assign the macro to a toolbar button.

Security  Use caution when running executable files or code in macros or applications. Executable files or code can be used to carry out actions that might compromise the security of your computer and data.