Edit a Macro
Use the Visual Basic Editor to edit InfoConnect macros.
You can open the Visual Basic editor using the Visual Basic command and browse the projects to locate the macro you want to edit. (See Create a Macro in the Visual Basic Editor.)
Or, use the following procedure to select a macro from a list of macros in your session and open the Visual Basic Editor directly in the code for the selected macro.
To edit a macro
-
Start a session.
-
Open the Visual Basic Editor. The steps depend on your user interface mode.
User Interface Mode Steps InfoConnect Ribbon For IBM3270 and IBM5250 terminals: On the Macros ribbon, from the Advanced group, click Visual Basic. For all other terminals: On the Tools ribbon, in the Macros group, click Visual Basic. InfoConnect Browser On the InfoConnect menu, choose Tools, Macro and then Visual Basic. TouchUX Tap the Wrench icon and then under Macro, select Visual Basic. Classic MDI From the Macro menu, select Visual Basic Editor. |
If you see the Run Macro dialog box, select InfoConnect Workspace Macro.
The Macros dialog box appears.
-
In the Macro name box, select the name of the macro to edit and click Edit.
-
Use the Visual Basic Editor to edit and test your changes.
-
From the File menu, choose Save.