Writing Visual Basic for Applications macros

Variables allow you to program a script (or "macro") in the Microsoft Visual Basic programming language to perform automated activity.

About this task

To write a Visual Basic macro for IBM® Rational® Rhapsody®:

Procedure

  1. Launch the Visual Basic for Applications IDE in one of the following ways:
    1. Select View > Toolbars > Visual Basic for Applications and then select the first icon from the left to launch the Visual Basic for Applications IDE.
    2. Select Tools > Visual Basic for Applications and then select Visual Basic Editor from the popup menu.
  2. Edit the Visual Basic project file, <project>.Visual Basic for Applications, to implement different macros. Once you are finished editing, exit the Visual Basic for Applications IDE and save the project. The Visual Basic for Applications project is automatically saved whenever the project is saved.

Feedback