Microsoft Project: Visual Basic for Applications
(VBA) Macros | Introduction
Microsoft Project Training Series | Level 4
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 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.
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 email@example.com for more information including savings for custom group training.
Related training: View all Microsoft Project 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)
- Certificate of completion
- Follow-up email support
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 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
- Opening and closing using VBA
- Accessing project information
- Referencing files, folders and drives
- 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.
You may like
Zoom in, out and move using these great shortcuts in the Microsoft Project Gantt Chart timescale. The timescale in the Gantt Chart view appears on the right side and displays units of time.
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.
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.
Tables are a core component of Microsoft Project. They appear in many views and display specific fields available in Project. The default tables that appear in the Tables drop-down menu on the View tab include …
You may also like
If you want to extract all images (or even just one or two) from a Microsoft PowerPoint deck to use in another presentation, there are a couple of ways to extract images …
You can use 3D references in Excel formulas to calculate across multiple worksheets that are structured in the same way. A 3D reference refers to the same cell or range of cells on multiple worksheets.
You can create calculated fields in select queries in Microsoft Access in the QBE (Query by Example) grid. You’ll need to learn a few syntax rules and then you can create simple to more complex calculations.
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