Course Outline
Introduction to VBA
- Overview of the VBA environment
- Visual Basic (VB) Editor
- Navigating with the Project Explorer
- Toolbox components
- Understanding Modules
- Procedures and Functions
- Writing comments
Programming Principles and Concepts
- Data types, variables, and constants
- Control of program flow
- If…Then…Else structures
- Do…Loop, While, and Until loops
- For…Next loops
- Input and Output, including Message and Input boxes
- Form code-behind and control manipulation
- Passing arguments and returning values
Debugging
- Runtime, Design Time, and Break Mode
- Using Breakpoints and Watches
- The Local Window
- The Immediate Window
Access - Object-Oriented Programming
- Access Object Model
- Objects and Collections
- Handling Events
- Methods and Properties
- Data Access Object (DAO) Library
Access User Interface Design
- Writing event procedures
- Implementing dynamic combo boxes
- Managing user inputs
- Key interface design considerations
- Customizing Menus
Access SQL & Database Design
- Filtering techniques – various WHERE clause options
- Calculating derived data
- Inner joins
- Outer joins
- Sub-queries – filtering, virtual tables, and columns
- Insertion – adding records directly or via queries
- Updating and Deleting – directly and through sub-queries
- Creating and Dropping tables
- Establishing relationships
- Utilizing primary and foreign keys
Excel - Object-Oriented Programming
- Excel Object Model
- Objects and Collections
- Handling Events
- Methods and Properties
Excel – Programming Analysis Routines
- Sorting, filtering, and distributing data across worksheets and workbooks
- Controlling charts with VBA
- Managing pivot tables with VBA
- Executing What-If scenarios with VBA
- Importing data from external files and the internet
Error Handling
- Stepping through code execution
- Identifying syntax errors
- Utilizing Debug.Print
- Developing error-trapping routines
Requirements
Participants should already be proficient in using Excel formulas, sorting and filtering data, creating charts, and working with pivot tables, among other features. For Access, attendees must be able to manage tables, queries, forms, and reports.
Testimonials (4)
Well structured. Good teaching techniques. Course well documented!
Sorin
Course - VBA For Access & Excel
Tamil was exceptionally patient and very helpful in figuring out solutions to real needs. He was also very honest about if he didn't know something from the top of his head, which enabled us to quickly jump on in the training and we didn't lose time.
Christine Weiler
Course - VBA For Access & Excel
The explanation way and including tips on the best practices in VBA/Access, encouraging via exercise to think more by ourselves on how to solve the problem rather than giving ready solutions.
Daria Rudin
Course - VBA For Access & Excel
I liked the examples and the way he explained.