Recording Macros

See Also

You can record keystroke macros in Visual FoxPro through the Macros dialog box.

To record a macro

  1. From the Tools menu, choose Macros.

  2. In the Macros dialog box, choose Record.

  3. Press the key or type the key combination you want to define.

  4. Enter a name for the macro or accept the default and then choose OK.

Visual FoxPro begins recording every keystroke.

Note Macro names cannot contain spaces.

To stop recording a macro

  1. From the Tools menu, choose Macros.

  2. In the Stop Recording Macro dialog box, choose from the following: