Приглашаем посетить
Аксаков К.С. (aksakov-k-s.lit-info.ru)

Automating Your Work with Macros

Table of Contents Previous Next

Automating Your Work with Macros

Do you often redo many tasks that require the same, sometimes lengthy, series of steps? Rather than repeat the same actions, you can work faster by recording the entire series of keystrokes and commands in a custom command, or macro. A macro is a sequence of commands and entries that can be activated collectively by clicking a toolbar button, clicking a menu command, typing a key combination, or clicking the Run command in the Macros dialog box. Macros are a perfect way to speed up routine formatting, combine multiple commands, and automate complex tasks. Any time you want to repeat that series of actions, you can "play," or run, the macro.

Record a Macro

graphics/1_icon.jpg

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

graphics/2_icon.jpg

Type a name for the new macro.

graphics/3_icon.jpg Click Create.

The Microsoft Visual Basic window opens, where you can create a macro.

graphics/4_icon.jpg

Type your macro code.

graphics/5_icon.jpg

When you're done, click the File menu, and then click Close And Return To Microsoft Office FrontPage.

graphics/14inf23.jpg

Run a Macro

graphics/1_icon.jpg

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

graphics/2_icon.jpg

If necessary, click the Macros In list arrow, and then click the page that contains the macro you want to run.

graphics/3_icon.jpg

Click the name of the macro you want to run.

graphics/4_icon.jpg

Click Run.

graphics/14inf24.jpg

Delete a Macro

graphics/1_icon.jpg

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

graphics/2_icon.jpg

Select the macro you want to remove.

graphics/3_icon.jpg

Click Delete.

graphics/4_icon.jpg

Click Yes to confirm the deletion.

graphics/14inf25.jpg

    Table of Contents Previous Next