Microsoft Word: Visual Basic for Applications
(VBA) Macros | Introduction
Microsoft Word Training Series | Level 4
Duration: 2 days (9 am – 4 pm)
Microsoft® Word® Versions: 2013 | 2016 | 2019 | 365 (Windows)
Delivery Methods (Instructor-led): Live classroom (LC) | Virtual classroom (VC)
Course Dates: July 6/7, 2021 (Virtual classroom) | View schedule
Course Fee: $495 CDN per person (Virtual classroom), $545 CDN per person (Bring your own device for live classroom courses) or $595 CDN per person + HST (Avantix Learning provides device for live classroom courses)*
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.
Public scheduled courses are delivered as live classroom training or virtual classroom training (as indicated). All courses are instructor-led.
This course is designed for the Microsoft Word user who wants to automate tasks using Visual Basic for Applications (VBA) but has little or no programming experience. Students will record VBA macros and then learn to create and work with modules, procedures, variables and constants in the Visua Basic Editor. Using many different samples, students will calso reate if statements, loops and dialogs.
Prerequisite: Microsoft Word: Intermediate / Advanced or equivalent knowledge and skills.
Location and timing: Public scheduled courses are held online in virtual classroom format or in downtown Toronto and run from 9:00 am to 4:00 pm (Eastern Time).
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 2021 Avantix® Learning
You may like
You can keep text together in several ways in Word. If you want to keep words or characters together, you can use nonbreaking spaces or nonbreaking hyphens or dashes and insert them using a dialog box or a keyboard shortcut. If you want to keep lines or paragraphs together on the same page, you can apply settings in the Paragraph dialog box (which can be built into styles if you use styles).
You can insert the does not equal sign (not equal to sign) in a Word document using Insert Symbol, a keyboard shortcut, an AutoCorrect entry or an Alt shortcut.
If you want to find and replace text or numbers in Word, you can use wildcards if you are not able to find an exact match. To use advanced find and replace techniques in Word, you will need to expand the Find and Replace dialog box.
If you work with tables in Microsoft Word, it’s a good idea to show gridlines. Table gridlines don’t print but borders do print. If borders are removed from a table, users may not recognize the table if gridlines are not displayed.
You may also like
During a PowerPoint slide show, you can change your mouse into a laser pointer to focus attention on a specific area on your slide. You can show or hide the built-in laser pointer using keyboard shortcuts or by using the context menu.
You can add audio in PowerPoint from a file on your PC or from a shared drive. Audio is played during a slide show and you can insert music, sound clips, or voice recordings. Since audio files are copied into PowerPoint presentations by default, they can increase file size and may need to be compressed. To play audio, your computer must be equipped with a sound card and speakers.
Check out these three easy ways to copy shape, picture or text formatting quickly and easily in PowerPoint using buttons or keyboard shortcuts.
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