Microsoft Word Visual Basic for Applications (VBA) - Course Outline
Duration
1 day Course
Course Aims
This course has been designed for those who wish to understand Visual Basic for Word and how to use it to create automated templates.
Learning Outcomes
Upon completion of this course the participant will be able to:
• Define the purpose of a macro • Create and Automate User Forms
• Understand the Terminology used when working with VBA • Understand the use of Decision Structures and Loops
• Create a template and attach objects to the template, such as Macros and AutoText Entries
• Use IF statements • Add and modify code • Use Loops
• Open and identify screen components of the VBA IDE
Training Method
Training is conducted by professional trainers, using hands on exercises and user practise to consolidate concepts.
Prerequisite
Participants must have attended an Advanced Word course or have an extensive amount of experience using Word.
Course Content
Getting Started
• What is a Macro • Where are Macros Stored
• What are Templates • Naming a Macro
• Recording Macros • Assigning a shortcut key to a Macro
The Visual Basic Editor
• Examining Macro Code • VBA Code
• Using Macros to Automate Templates
• Using Macros in conjunction with Templates
• Inserting Bookmarks • The AutoNew Macro
• Editing a Macro • Adding Remarks
• Using InputBoxes • Problem Solving Code
User Forms
• Creating an Automated Standard Letter • Creating a User Form
• Identify different Form Controls • Defining Form Control Properties
• Using Command Buttons • Using ComboBoxes
Decision Structures and Loops
• Define a Decision Structures • Understand Decision Structures
• Use an If Then Else Statement • Define a Loop
• Use a simple Loop