Microsoft Word: Visual Basic for Applications
(VBA) Macros | Introduction

Microsoft Word Training Series | Level 4

Course Details

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 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 info@avantixlearning.ca 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.

Register for this training course.

Course Overview

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

Course Topics

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

  • Running macros using the keyboard and the Macro dialog box
  • Running macros using buttons

Procedures

  • 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

Decision Structures

  • Writing If statements
  • Using If for single and multiple conditions

User Interaction

  • 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 Structures

  • 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

Document Management

  • Using opening and closing methods
  • Using the Save and SaveAs methods
  • Returning and retrieving information
  • Referencing files, folders and drives

Error Handling

  • 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

Businessman pointing to buttons on a virtual screen and a solutiong button.

Custom training

Register now for a public course or contact us at info@avantixlearning.ca for more information about any of our courses or to discuss custom training options (virtual classroom or live classroom).

Related courses

Microsoft Word:  Intermediate / Advanced

Microsoft Word: Accessible Documents

Microsoft Word:  Power User

Microsoft Word: eBook Design, Publishing and Distribution

Microsoft Project: Introduction

VIEW MORE COURSES >

You may like

How to Insert or Type the Beta Symbol in Word (β or Β)

How to Insert or Type the Beta Symbol in Word (β or Β)

You can insert or type the Beta symbol in Word documents in several ways. The Greek Beta symbol can be entered in upper case (Β) or lower case (β) using built-in commands or keyboard shortcuts (including Alt codes, AutoCorrect entries or custom shortcuts). Beta is the 2nd letter in the Greek alphabet and is comparable to the letter B.

How to Find and Replace Formatting in Word (such as Bold, Italic and Font)

How to Find and Replace Formatting in Word (such as Bold, Italic and Font)

You can find and replace formatting in Word by searching for specific formatting, such as bold or italic, and changing it to other formats. You or even search for text with specific formatting and change the text and the formats. With Find and Replace, you can search for and change both character and paragraph formatting.

How to View Word Count in Microsoft Word (4 Ways)

How to View Word Count in Microsoft Word (4 Ways)

You can view word count in a Microsoft Word document in several ways. Although word count is typically displayed in the Status Bar, you can view a Word Count dialog box which can be displayed using the Ribbon, the Status Bar or a keyboard shortcut. In addition to word count, you can check a document for the number of characters, lines, paragraphs and pages. Word count and other statistics are also available in Word Properties. 

You may also like

How to Show or Unhide the Quick Access Toolbar in Word, Excel and PowerPoint

How to Show or Unhide the Quick Access Toolbar in Word, Excel and PowerPoint

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.

5 Ways to Insert or Type the Square Root Symbol (√) in PowerPoint (with Shortcuts)

5 Ways to Insert or Type the Square Root Symbol (√) in PowerPoint (with Shortcuts)

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.

How to Reorder Objects in PowerPoint Using Bring to Front or Send to Back (with Shortcuts)

How to Reorder Objects in PowerPoint Using Bring to Front or Send to Back (with Shortcuts)

You can reorder objects on a PowerPoint slide using keyboard shortcuts, the context menu, the Ribbon or the Selection Pane. When objects are placed on a slide, they are stacked on top of each other. It's common to reorder objects to change the stacking order. When you select an object and Send to Back, it's moved to the bottom of the stack. If you choose to Send Backward, it's moved back by object. When you select an object and Bring to Front, it's moved to the top of the stack. If you choose to Bring Forward, it's moved forward by object.

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 info@avantixlearning.ca

Upcoming Training
Course
Microsoft Word: Visual Basic for Applications (VBA) | Introduction (Toronto classroom course or online in virtual classroom format)
Location
Avantix Learning, 1 Yonge Street, Sutie 1801 (Toronto Star Building),Toronto, Ontario, Canada,
Next course starts
July 29, 2021
Next course ends
July 30, 2021
Description
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.

Pin It on Pinterest