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

Microsoft Project Training Series | Level 4

Course Details

Duration: 2 days

Microsoft® Project® Versions: 2010 | 2013 | 2016 | 365 (other versions on request)

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

Course Dates: June 28/29, 2017 | 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 instructor-led course is designed for the Microsoft Project user who wants automate tasks using Visual Basic for Applications (VBA) but has little or no programming experience. Students will write VBA macros and use modules, procedures, variables and constants within the Visual Basic Editor (VBE) window. Using many different samples, students will create sub procedures with if statements, loops and dialogs. Macros will be be run using different strategies to automate Microsoft Project.

Prerequisite: Microsoft Project: Intermediate 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 for more information including savings for custom group training.

Related training: View all Microsoft Project 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

VBA Macro Concepts in Microsoft Project

  • What is a VBA macro?
  • Displaying the Developer tab in Microsoft Project
  • Saving files with macros enabled

Microsoft Project Macro Security

  • Specifying macro security settings in Project
  • Creating a trusted folder for macro enabled projects

Working in the Visual Basic Editor (VBE)

  • Displaying the Visual Basic Editor (VBE)
  • Exiting the VBE
  • Using the Project Explorer to locate modules
  • Working in the Code Window
  • Showing/hiding panes in the VBE
  • Entering properties

Writing Sub Procedures with VBA

  • Code syntax logic
  • Entering sub procedures
  • Macro naming conventions
  • Working with modules in projects
  • Using methods with objects
  • Inserting comments
  • Running procedures within other procedures

Running Macros

  • Running macros in different ways

Using Variables and Constants

  • Using constants and variables in code
  • Types of variables
  • Declaring variables
  • Declaring several variables
  • Procedure level scope, module level scope or public scope

If Decision Structures

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

User Interaction using Messages

  • Displaying messages with message boxes
  • Using input boxes and extracting user information
  • Specifying arguments


  • Looping for items
  • Exiting a loop
  • Using the Do Loop statement

Managing Files

  • Opening and closing using VBA
  • Accessing project information
  • Referencing files, folders and drives

Handling Errors

  • Types of errors
  • Working in the Immediate window
  • Using basic error handling
  • Resuming macros after an error

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!

Copyright 2017 Avantix Learning Inc.

To request this page in an alternate format, contact our staff.

*Prices subject to change.

^ Back to top


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

You may like

Auto vs Manual Scheduling in Microsoft Project

Auto vs Manual Scheduling in Microsoft Project

In newer versions of Microsoft Project, you have the option of scheduling tasks using manual or auto scheduling. In earlier versions, Microsoft Project used auto scheduling which takes advantage of Project’s scheduling engine to schedule tasks.

How to Create a Timeline in Microsoft Project

How to Create a Timeline in Microsoft Project

Timelines are a great way to view key tasks and milestones in a project. You can add tasks to a timeline and then format it any way you’d like. Copy a timeline into an email or Word or PowerPoint file to present the timeline.

You may also like

Change Line Style, Thickness or Color of Table or Cell Borders in PowerPoint

Change Line Style, Thickness or Color of Table or Cell Borders in PowerPoint

You can change the formatting of a table border or the borders of multiple table cells in PowerPoint by changing the line style, thickness (weight) or color. Different borders can be applied to cells in the same table. For example, you could apply a thick line to header cells and a thin line to the cells in the last row of a table.

How to Delete a Pivot Table in Excel

How to Delete a Pivot Table in Excel

A pivot table can be deleted in an Excel workbook in several ways. You can delete a pivot table, convert a pivot table to values or clear data and customizations from a pivot table to reset it. When a pivot table is created from source data in a workbook,

How to Change Commas to Decimal Points and Vice Versa in Excel (5 Ways)

How to Change Commas to Decimal Points and Vice Versa in Excel (5 Ways)

Depending on your country or region, Excel may display decimal points or dots instead of commas for larger numbers. The decimal point (.) or comma (,) is used as the group separator in different regions in the world. You can change commas to decimal points or dots or vice versa in your Excel workbook temporarily or permanently.

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 Project; VBA (Visual Basic for Applications) | Introduction (Toronto course)
Avantix Learning, 1 Yonge Street, Suite 1801 (Toronto Star Building),Toronto, Ontario, Canada,
Next course starts
June 28, 2017
Next course ends
June 29, 2017

Pin It on Pinterest