Visual Basic for Word
This course covers all of the main concepts required to program Microsoft Word using Visual Basic including, understanding functions, decision structures, macros and creating code to drive user forms. This course assumes a strong knowledge of Microsoft Word to an Advanced level.
At the end of the course delegates will be able to: create macros, work with the main components of the VBA Editor, create and work with functions, create user forms, write a variety of error handling routines and use Word's built-in dialog boxes. This course is available for Microsoft Office 2003, 2007 and 2010.
Recording a Simple Macro
Assigning a Macro
Creating a Custom Pull-Down Menu
The Many Ways of Running A Macro
Editing and Deleting a Macro
Tips For Developing Macros
VBA Terminology
Setting Property Values
Programming with The Object Browser
Using the VBA Editor
Creating a Command Procedure
Using the Edit Toolbar
Commenting Statements
Creating and Using Variables
Creating and Calling Functions
The Msgbox Function
Sending Messages to the User and Different Input Techniques
Nesting Functions and the If Statement
Using If For Single Conditions
Working with Text and Looping Structures
Opening and Closing Documents
Functions that Return Information
Working with Files and Folders
Displaying Files in a User Form
Creating Custom Forms
Programming User Forms
Creating a Template with Auto Macros
Error Handling and Built-In Dialogs
Using Dialogs with a User Form
