Quattro Pro lets you start Visual Basic for Applications (VBA) from Quattro Pro. You can display the VBA toolbar, which provides quick access to commands such as playing a macro or starting the VBA Editor.
With VBA, you can create a project macro. You can play a project macro only in the document which was used to create it.
You can create a project VBA macro by creating a public method for the ThisDocument object. The term public refers to the access level. If a method is public, it can be accessed from outside the class. This means that you can call it from the host application. If a method is private, then only methods in the same class can access it. Every public method that belongs to the ThisDocument class is a project macro.
You can copy PerfectScript to a VBA code module. You can also copy Quattro Pro macro script to a VBA code module.
You should always play a macro once you have created it. For more information about playing a PerfectScript macro see “To play a PerfectScript macro.”
For more information about VBA, see the Microsoft Visual Basic Help in the Visual Basic Editor.
Click Tools Visual Basic Visual Basic Editor.