Microsoft Access VBA Complete
What You'll Learn in Microsoft Access VBA Complete
Course Length
Learning Objectives
- Understand how the Visual Basic editor works in Access
- Learn to work with the VBA object model
- Learn to work with VBA object variables
- Learn to work with string variables
- Learn to work with date variables
- Learn to work with numeric variables
- Learn to use the selection structure
- Learn to use the Select Case statement and the MsgBox function
- Learn to work with the repetition structure
- Learn to work with option button, check box, and list box controls
- Learn to use Automation
- Learn to trap errors
Target Student
Users who need to use the added functionality of Access Visual Basic for Applications to build, maintain, manipulate and automate databases.
Course Outline
In this introductory Visual Basic for Applications (VBA) training course, you will learn how to manipulate objects in Access with VBA. Specifically, you will learn how to use the Visual Basic editor, work with the object model, create and use variables, and use the selection structure. You will learn to use flow control, create custom dialogs, automate processes, and handle errors.
Section 1: Getting Started
Introduction to Programming in Access
Why Program in Access?
Understanding the Development Environment
Using Visual Basic Help
Section 2: Working with Procedures and Functions
Understanding Modules
Creating a Standard Module
Understanding Procedures
Creating a Sub Procedure
Calling Procedures
Using the Immediate Window to Call Procedures
Creating a Function Procedure
Naming Procedures
Organizing Code and Procedures
Working with the Code Editor
Section 3: Understanding Objects
Understanding Classes and Objects
Navigating the Access Object Hierarchy
Understanding Collections
Using the Object Browser
Working with the Application Object
Understanding the Form Object
Working with Properties
Using the With Statement
Working with Methods
Understanding the DoCmd Object
Working with Events
Understanding the Order of Events
Section 4: Using Expressions, Variables, and Intrinsic Functions
Understanding Expressions and Statements
Declaring Variables
Understanding Data Types
Working with Variable Scope
Working with Variable Lifetime
Considering Variable Scope and Lifetime Together
Using Intrinsic Functions
Understanding Constants
Using Intrinsic Constants
Using Message Boxes
Using Input Boxes
Section 5: Controlling Program Execution
Understanding Control-of-Flow Structures
Working with Boolean Expressions
Using the If...End If Decision Structures
Using the Select Case...End Select Structure
Using the For...Next Structure
Using the For Each...Next Structure
Using the Do...Loop Structure
Guidelines for Use of Branching Structures
Section 6: Working with Recordsets
Declaring and Creating Object Variables
Working with the DAO Recordset Object
Section 7: Debugging Code
Understanding Errors
Using Debugging Tools
Setting Breakpoints
Setting Break Expressions
Using Break Mode During Run Mode
Stepping through Code
Determining the Value of Expressions
Section 8: Handling Errors
Understanding Error Handling
Understanding VBA's Error Trapping Options
Trapping Errors with the On Error Statement
Understanding the Error Object
Writing an Error-Handling Routine
Working with Inline Error Handling
Delivered by Great Canadian Training
Microsoft Access VBA Complete
Upcoming Classes
All Public classes are held onlinewith a live instructor
Groups of 6 or more? Consider private training
I want a quote for private or customized training
Have questions about this course? See below or reach out to our training coordinators.
The Great Canadian Training & Consulting Company Advantage
When you train with us, your training will not just check a box. We make sure it is GREAT!
- Experienced Trainers
- Learn or Come Back Free Policy on Public Classes
- 24/7 After Training Support
All of our courses include
PDF Reference Guide
Want a summary of what you’ve learned? Save paper and use your PDF Reference Guide, accessible on any of your devices.
Certificate of Completion
Boost your credentials with a Certificate of Completion, confirming the skills you’ve acquired with us.
24/7 After-Training Support
Receive a 30-day after-training support voucher, offering assistance as you apply your new skills on the job. Need help with a specific step? We’re here to provide extra support and clarity even after you’ve left the class!
Want even more?
Check out our add-ons
Printed Reference Guide
While we love technology, we understand that there is something about having a paper copy. Add a printed reference guide to your training, which we will have shipped to your location.
Extended After-Training Support
Extend your support beyond the standard 30 days for ongoing assistance.
Can I customize my course?
OF COURSE!
Customized to meet your unique needs
We can customize your training to fit your exact needs, whether it's making small adjustments or creating entirely new courses. From setting specific objectives and including your own files to addressing unique challenges, we're here to help. We can even tailor the training to align more closely with how you work and to fit perfectly into your schedule. Our goal is to provide training that's as unique as your goals.
Use your own files instead of our exercise files
You can opt to use your working files in your private training sessions (instead of our standard exercise files). This allows you to see how the lessons apply directly to your day-to-day role and get work done while you train—a true win-win!
Access to your recorded session for 60 days
You can request your private session be recorded. You can have access for 60 days to revisit what you’ve learned.