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

Microsoft Access Training Series | Level 4

Course Details

Duration: 2 days

Microsoft® Access® Versions: 2010 | 2013 | 2016 | 365 (Windows)

Delivery Methods: Instructor-led classroom (ILC) | Virtual classroom (VC) on request

Course Dates: TBA | View schedule Course schedule

Course Fee: $595 CDN per person + HST or BYOD (bring your own device): $545 CDN person + HST*

Note: Public scheduled dates for this course are delivered as live instructor-led classroom training.

Register for this training course.

Course Overview

This hands-on course is designed for the non-programmer who wants to learn the basics of programming with Visual Basic for Applications (VBA) to automate Microsoft Access. Students will review techniques to create VBA macros and use modules, procedures, variables and constants within the VBA window. If statements, loops and error handling will also be demonstrated using various examples. Students will run VBA macros automatically on open or close or by using keyboard shortcuts, events and command buttons. Log-in forms as well as user defined functions will also be created.

Prerequisite: Microsoft Access:  Intermediate / Advanced or equivalent knowledge

Location and timing: Public scheduled courses are held in downtown Toronto and run from 9:00 am to 4:00 pm (Eastern Standard Time).

Custom training: This course may be delivered at your site or ours as an instructor-led or virtual classroom solution. Contact us at for more information including savings for custom group training.

Related training: View all Microsoft Access courses >


  • Comprehensive course manual or published book
  • Keyboard shortcuts quick reference
  • Sample and exercise files
  • Refreshments (for classes conducted in Avantix Learning classrooms)
  • Certificate of completion
  • Follow-up email support

Course Topics


  • What is a VBA macro?
  • When to use a VBA macro
  • Using the Developer tab
  • Creating macros using the Macro Designer and converting to VBA

Security and Trust Centre Settings

  • Specifying macro security settings
  • Creating a trusted folder

Macro Concepts in Visual Basic for Applications (VBA)

  • Working in the Visual Basic Editor (VBE) window
  • Basic syntax logic
  • Sub procedures in VBA
  • Writing code in the Code Window
  • Working with modules and projects
  • Using methods and properties
  • Adding comments

Running Macros

  • Running macros using keyboard shortcuts
  • Running macros using events
  • Running macros using a dialog

Types of Events

  • On click events
  • Before and after update events
  • Close and open events
  • Delete and cancel events

Types of Code Modules

  • Types of code modules
  • Database modules


  • Functions
  • Sub procedures
  • Types of procedures

Variables and Constants

  • Using constants and variables
  • Types of variables including string and date
  • Constant and variable declarations
  • Declaring several variables

Working with Objects

  • The basics of working with objects
  • Naming objects
  • Advantages of using object references

Looping Structures

  • Looping through actions
  • List and combo boxes

Decision Making Tools

  • Using IF blocks
  • Select Case structures
  • Working with dialog boxes
  • Using common controls

User Interaction

  • Creating forms for user input
  • Using message boxes for input

Special Macros

  • Create macros to run on open or close

User Defined Functions

  • Create macros for functions that do not appear in the list of built-in functions

Debugging, Validating and Error Handling

  • Debugging
  • Input Validation
  • Error Handling
  • File Processing

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!

If you require this page in an alternate format, contact our staff.

*Prices subject to change.

Copyright 2018 Avantix® Learning Inc.

Businessman pointing to buttons on a virtual screen including solutions button.

You may like

How to Easily Export Microsoft Access Data to Excel

Microsoft Access includes an export wizard that can be used to export tables, queries, forms or reports easily to Excel. It’s common to have many users in an organization using Excel so data in Excel format can work well.

You may also like

How to Freeze Row and Column Headings in Microsoft Excel

As many Excel worksheets can become quite large, it can be useful to freeze row and column headings so that they are locked in place when you scroll through your worksheet. In Excel, you can freeze both row headings and column headings or just one.

10 Excel Tips for Working with the Subtotal Feature

You can insert subtotals in Microsoft Excel data sets or lists using the Subtotal feature. Check out these 10 great tips which include showing and hiding subtotals, formatting subtotals, copying only subtotals and grand totals and more …

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 |

Upcoming Training
Microsoft Access: Visual Basic for Applications (VBA) | Introduction (Toronto course)
Avantix Learning, 1 Yonge Street, Suite 1801 (Toronto Star Building),Toronto, Ontario,Canada
Next course starts
October 11, 2018
Next course ends
October 12, 2018

Pin It on Pinterest