Microsoft Access: Visual Basic for Applications (VBA) Macros | Introduction
Microsoft Access Training Series | Level 4
Duration: 2 days
Microsoft® Access® Versions: 2010 | 2013 | 2016 | 2019 | 365 (Windows)
Delivery Methods: Instructor-led classroom (ILC) | Virtual classroom (VC) on request
Course Dates: June 26/27, 2019 | View schedule
Course Fee: $545 CDN per person + HST (bring your own device) or $595 CDN person + HST (Avantix Learning provides device)*
Note: Public scheduled dates for this course are delivered as live instructor-led classroom training.
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 firstname.lastname@example.org for more information including savings for custom group training.
Related training: View all Microsoft Access 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
- 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 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
- 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 through actions
- List and combo boxes
Decision Making Tools
- Using IF blocks
- Select Case structures
- Working with dialog boxes
- Using common controls
- Creating forms for user input
- Using message boxes for input
- 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
- 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 2020 Avantix® Learning Inc.
You may like
You can highlight values in fields or records in Microsoft Access reports using conditional formatting. Certain conditions must be met in order for the formatting to be applied …
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.
Check out these great shortcuts for manipulating controls in Design View in both forms and reports in Microsoft Access.
In Microsoft Access, small green error markers may appear in Design View in forms and reports for a number of reasons. You can turn error checking off completely or set the rules you prefer.
You may also like
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,
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.
You can group by month, year or other date period in a pivot table in Excel. One option is to group by date periods in a pivot table using the Grouping feature. Alternatively, you can also create calculations in source data to extract the month name and the year from a date field and use the fields in your pivot table.
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 | email@example.com