• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Part IX: Customizing with Word > Introducing Visual Basic for Applications

Chapter 39. Introducing Visual Basic for Applications

  • Create a procedure with the Macro Recorder

    Microsoft Word's Macro Recorder is a great tool for automating commonly used tasks. After recording the task as a macro, you can use the macro over and over again.

  • Run a procedure

    Running a procedure can be done in a variety of ways. You can use Tools, Macro, or you can assign a macro to a button.

  • Edit a procedure

    You may want to make changes to your original recorded macro. Or you may want to correct a mistake. This is easily done by editing the recorded procedure.

  • Use data entry boxes

    Using a Visual Basic function called InputBox, you can prompt a user for information and then use that information on your worksheet.

  • Display a message

    The MsgBox function enables you to display messages to your user when they run a procedure you create. This allows you to display information such as the status of the procedure and let the user of the procedure know what is going on.

For a number of years, Microsoft has hinted to the press and developers that their long-range strategy included a common application programming language used in all their applications. This language would be founded on BASIC, the most widely known computer language, and would provide power users and developers with a common application language (also known as macro language) between applications. This feature would reduce learning time and support costs. In addition, this language would provide the means for developers to develop systems that integrate multiple applications—enabling multiple applications to work together to solve business problems.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint