Microsoft Word: Visual Basic for Applications
(VBA) Macros | Introduction
Microsoft Word Training Series | Level 4
Duration: 2 days
Microsoft® Word® Versions: 2010 | 2013 | 2016 | 2019 | 365 (Windows)
Delivery Methods: Instructor-led classroom (ILC) | Virtual classroom (VC) on request
Course Dates: July 10/11, 2019 | View schedule
Course Fee: $545 CDN per person + HST (bring your own device): or $585 CDN per person + HST (Avantix Learning provides device)*
Note: Public scheduled dates for this course are delivered as live instructor-led classroom training.
This course is designed for the Microsoft Word user who wants automate tasks using Visual Basic for Applications (VBA) but has little or no programming experience. Students will record VBA macros and use modules, procedures, variables and constants within the VBA window. Using many different samples, students will create if statements, loops and dialogs. Using different strategies, macros will be run to automate Microsoft Word.
Prerequisite: Microsoft Word: Intermediate / Advanced or equivalent knowledge and skills.
Custom training: This course may be delivered at your site or ours as an instructor-led or virtual classroom solution. Contact us at email@example.com for more information including savings for custom group training.
Related training: View all Microsoft Word courses >
INCLUDED IN THIS COURSE
- Comprehensive course manual or published book
- Keyboard shortcuts quick reference
- Sample and exercise files
- Refreshments (for classes conducted in Avantix Learning classrooms)
- Follow-up email support
Overview of VBA Macro Concepts
- What is a VBA macro?
- Displaying the Developer tab in Microsoft Word
- Creating macros using the macro recorder in Microsoft Word
- Limitations of recorded macros
- Saving files with macros
Working with the Visual Basic Editor (VBE)
- Opening and closing the VBA editor
- Using the Project Explorer and the Code Window
- Moving between Microsoft Word and the VBA editor
- Overview of the properties window and the work area
- The basics of writing code
Macro Security and Trust Centre Settings
- Specifying macro security settings
- Creating a trusted folder
Getting Started with VBA
- Basic syntax logic
- Sub procedures
- Naming macros
- Working with modules and projects
- Using methods and properties
- Adding comments
- Running macros using the keyboard and the Macro dialog box
- Running macros using buttons
- Sub procedures
- Running procedures within other procedures
Variables and Constants
- Using constants and variables
- Types of variables
- Constant and variable declarations
- Declaring several variables
- Procedure level scope, module level scope or public scope
- Writing If statements
- Using If for single and multiple conditions
- Overview of the dialogs collection
- Using input boxes and extracting answers
- Using message boxes for input
- Specifying status bar messages
- Using dialog box arguments
- Using the Execute, Show and Display methods
- Looping for items
- Adding an exit
- Using the Do Loop statement
Working With Text
- Text and document components
- Using the story range
- Using the selection and range objects
- Inserting text
- Using opening and closing methods
- Using the Save and SaveAs methods
- Returning and retrieving information
- Referencing files, folders and drives
- Types of errors
- Simple error handling
- Resuming macros
- Decision structures when dealing with errors
Register Now for a public course at our downtown Toronto location at 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada.
Do you need more information? Contact us!
To request this page in an alternate format, contact our staff.
*Prices subject to change.
Copyright 2020 Avantix® Learning Inc.
You may like
In Microsoft Word, images can be extracted one by one or you can extract all images by converting a Word document to a zip file or saving it as a web page. Extracting all images is helpful if you’d like to find pictures that are inflated in size.
In Microsoft Word, you can save lots of time if you can move around quickly in your documents. You can use keyboard shortcuts to jump to the beginning or end of your document and move up or down by page or paragraph.
You can update Microsoft Word fields manually or automatically. For fields you update manually, you can update just one field or update all the fields in your document at once.
You can create a table of contents in Microsoft Word easily using styles. After you apply styles, you can then generate a table of contents, change the formatting and update it at any time.
You may also like
You can highlight values in fields or records in Microsoft Access reports using conditional formatting. Certain conditions must be met in order for the formatting to be applied …
You can create calculated fields in select queries in Microsoft Access in the QBE (Query by Example) grid. You’ll need to learn a few syntax rules and then you can create simple to more complex calculations.
Check out these great shortcuts for manipulating controls in Design View in both forms and reports in Microsoft Access.
Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.
Avantix Learning | 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada M5E 1W7 | firstname.lastname@example.org