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): In-person (Live classroom) | Virtual classroom
Course Dates: July 29/30, 2021 (Virtual classroom) | View schedule
Course Fee: $495 CAD per person (Virtual classroom), $545 CAD per person (Bring your own device for live classroom courses) or $595 CAD 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 firstname.lastname@example.org 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 2022 Avantix® Learning
You may like
You can delete a table in a Word document in 4 simple ways – using the Ribbon, using the context menu, using the Backspace key or by selecting a paragraph and a table and pressing Delete.
You can make columns in Word documents in a few different ways. There are two types of columns you can create – newspaper-style columns where the text flows from column to column or tables with columns and rows. You can create documents that contain two, three or more columns. In this article, we'll review how to set up newspaper-style columns. If you want to create a table, check out How to Create a Table in Word (4 Ways).
You can create a table in a Word document in 4 easy ways using the Ribbon. A table is a grid made up of columns and rows that intersect to form cells. You can insert text, numbers and images in a table. Once you have inserted a table, you can easily add and resize columns and rows and change table formatting.
You can insert or type e with an accent mark in Word using built-in tools or keyboard shortcuts (including Alt code shortcuts). The letter e can be inserted with an accent in both upper or lower case. The following are common accents in upper or lower case – È, É, Ê, Ë, è, é, ê, or ë.
You may also like
You can insert the euro sign or symbol (€) in a PowerPoint presentation using built-in PowerPoint commands or keyboard shortcuts (Alt code or AutoCorrect shortcuts).
In 2021 and 365 versions of Word, Excel and PowerPoint, you now have the ability to hide or unhide the Quick Access Toolbar. So if your Quick Access Toolbar seems to have disappeared, it may simply be hidden. In 2021, Microsoft also removed Undo and Redo / Repeat from the Quick Access Toolbar and moved these commands to the Home tab in the Ribbon.
You can insert or type the square root symbol in PowerPoint presentations using built-in commands or keyboard shortcuts. The square root symbol or radical sign can be entered in placeholders, text boxes or in equation blocks on PowerPoint slides. You can use an Alt code shortcut, a Math AutoCorrect entry or create an AutoCorrect entry as a custom shortcut.
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 |18 King Street East, Suite 1400, Toronto, Ontario, Canada M5C 1C4 | Contact us at email@example.com