Creating a Macro

23.08.2021

You can create a macro by using the macro recorder to record a sequence of actions. With FlexPro Professional or FlexPro Developer Suite, you can create a macro from scratch by entering Visual Basic for Applications code in the Visual Basic Editor. When you are recording a macro, you can use the mouse to click commands and options.

To Record a Macro in FlexPro

1.Click Developer[Code] > Record Macro.

2.In the Macro name field, enter the macro name.

3.Under Store macro in, enter the templates database or the project database where you want to store the macro.

4.In the Description field enter a description for the macro.

5.Click on OK to start recording the macro.

6.Perform the actions you want to include in your macro.

7.To stop recording the macro, click on Stop recording.

To Record a Quick Macro in FlexPro

1.Click Developer[Code] > Record Quick Macro or use the CTRL+SHIFT+R shortcut.

2.Perform the actions you want to include in your macro.

3.To stop recording the macro, click on Stop Recording or use the CTRL+SHIFT+R shortcut again.

To Pause and Resume a Macro Recording

1.To pause recording, select Pause Recording.

2.Perform any actions you don't want to record.

3.To resume recording, deselect Pause Recording.

To Create a Macro from Scratch

1.Click Developer[Code] > Macros.

2.In the Macros in list, click on the templates database or the database where you want to store the macro.

3.In the Macro name field, enter the macro name.

4.Click on Create to open the Visual Basic Editor.

See Also

Using Macros to Automate Tasks

Tips for Recording a Macro

Share article or send as email:

You might be interested in these articles