Tips for Recording a Macro

23.08.2021

Before you record or write a macro, plan the steps and commands that you want the macro to perform. If you make a mistake when you record the macro, corrections you make will also be recorded. If you are working with FlexPro Professional or FlexPro Developer Suite, you can edit the macro later and remove unnecessary steps you recorded.

Try to anticipate what is going to happen. For example, if your macro includes a command to close the project database, FlexPro asks you to save the project database if it contains unsaved changes. To avoid this message, record saving the project database before closing it.

If you want to use the macro you are recording in other project databases, make sure that the macro does not depend on the current project database's contents.

If you use a particular macro often, assign it to a ribbon button or keyboard shortcut. This allows you to run the macro directly without having to open the Macros dialog box.

Share article or send as email:

You might be interested in these articles