Introduction to Access VBA Programming
- Outline
- Share
LEVEL: INTERMEDIATE
This hands-on course is an introduction to programming with Visual Basic for Applications (VBA) in Microsoft Access. Students will learn how to work with loops, functions, control structures, object variables, arrays, and much more. By the end of the course participants will have the essential skills required to write their own procedures, automate data analysis and reporting, and develop a simple Access database application using VBA. No programming experience is required.
This course is taught by Steve Stricklen, who’s created countless Access VBA applications in his 20 years as a developer and trainer.
You Will Learn How To:
- Write Your Own Procedures
- Automate Data Analysis and Reporting
- Use VBA to Transfer Data from Access to Excel (and vice versa)
- Build a Simple Database Application
- And Much More!
Other Benefits of Access VBA Training:
- Instructor Support After the Training
- Discounts on any of our Excel Add-ins
Choose the Best Training Solution For You or Your Organization
Open Enrollment
Team Training
Access VBA Introduction Course Information
- The public course is two days, 9-4 CST. Please see the schedule for more details.
- For private groups this course can be conducted in a 2 or 3 day format, and can be customized. The third day can be used to cover a specific project or example.
This is an Access VBA Workshop. It's hands-on. The students will spend most of their time writing code, following along with a live instructor. Some PowerPoint slides and other documents may be used in the training but the student will spend very little time reading. Example files and other digital training material needed by the student will be emailed in advance or shared during the course.
- Intermediate Access Skills
- No Programming Experience Required
- This course requires Microsoft Access 2007 or later versions
- Instructor will be using Office 365 / Windows 11
- Access is not available on Mac.
Our 200+ page Introduction to Access VBA Programming booklet is optional. While we do use it as a guide for the training, it is not required by the student to follow along with the instructor.
The booklet, however, does serve as an excellent reference after the training and includes additional exercises, examples, and quick-reference sheets. And it can be branded with your company's logo and colors. Great for team training!
Access VBA Introduction Course Outline
- What is VBA?
- Why Learn to Program with VBA?
- The Programmer's Edge
- The Access Development Environment
- The Importance of Splitting Databases
- Maintaining Links
- Using the Database Splitter
- Using Queries for Reports and Forms
- Understanding Client/Server
- Macro Overview
- Creating Macros
- Assigning Macros
- Creating More Complex Macros
- Converting Macros to VBA Code
- When to Use Macros
- Programming Environment Overview
- The Role of Forms
- Creating a Startup Form
- Understanding Modules
- Code Behind Forms
- Standard Code Modules
- Standard vs. Class Modules
- Understanding Modules in Access
- The Anatomy of a Module
- Creating a Subroutine
- Creating a Function
- Calling Procedures
- Passing Parameters
- Returning Values
- Overview of Variables
- Creating String Variables
- Option Explicit
- Working with Numbers
- Dealing with Overflows
- Working with Decimals
- Working with Dates
- Default Values
- Scoping Variables
- Local Variables
- Module-Wide Variables
- Passing Arguments
- The Act of Communicating
- Creating a Simple Input Box
- Creating More Elaborate Input Boxes
- Global Positioning
- Simple Message Boxes
- Creating Larger Messages
- Breaking a Message Line
- Customizing Icons and Buttons
- Message Box Functions
- Responding to Different Buttons
- Decisions Overview
- Creating an In-Line If
- Creating a Block If
- Multiple If
- Multiple If Using Text
- Using Case Statements
- Value Ranges in Case Statements
- Case Statements with OR
- Asking Yes/No Questions
- Program Loops
- Creating a While Loop
- Taking Care of Counters
- Creating an Until Loop
- For Each Loops
- Exiting From Loops
- For Next Loops
- Overview of DoCmd
- Navigating with DoCmd
- Moving Through Records
- Filtering Records with DoCmd
- Opening a Form with DoCmd
- Opening a Report with DoCmd
- Closing a Form
- Creating Variable Reports
- Overview of ADO
- Setting References Using VBA
- Creating a Table with ADO
- Removing a Table Using ADO
- Populating a Form Using ADO
- Dealing with an Empty Table
- Overview of ADO Recordsets
- Navigating Records in a Form
- Finding a Record
- Updating a Record
- Deleting a Record
- Adding a New Record
- Overview of Debugging
- Setting a Breakpoint
- Setting Additional Breakpoints
- Stepping Through a Procedure
- Viewing the Call Stack
- Using the Locals Window
- Using the Immediate Window
- Adding a Watch
- Deleting a Watch
- Error Handling Overview
- Understanding Common Errors
- Creating a Simple Error Handler
- Understanding the Error Object Model
- More Elegant Error Handling
- Resuming From Errors
- Forcing an Error
- Creating Custom Errors
- What's Next?
- Where to Get Help
- Writing Code
- Think Like a Programmer
Access VBA Introduction Training FAQs
This course is applicable to Access 2007 and newer versions. Instructor will be using Office 365/Win 11.
Windows PC is required for the course.
Yes, individuals can enroll in one of our open-enrollment courses, which are conducted online using Zoom.
Or, for organizations, we can teach your group or staff in a private online session using an online service you choose. Private sessions can also be customized.
Our public courses are guaranteed to run. If, for some reason, the course does not occur, you will receive a full refund.
Related VBA Training
100% Satisfaction Guarantee!*
* Contact us for more details
Questions about the Access VBA Training?
Let us know how we can help. We’ll get in touch within one business day.