Course Outline
Introduction to VBA
- Exploring the VBA environment
- The VB Editor
- Utilising the Project Explorer
- The Toolbox
- Modules
- Procedures and Functions
- Adding comments
Programming principles and concepts
- Data types, variables, and constants
- Program flow control
- If…Then… Else statements
- Do…Loop, While, and Until structures
- For…Next loops
- Input and Output, message boxes, and input boxes
- Code behind forms and manipulating form controls
- Passing arguments and returning values
Debugging
- Run time, design time, and break mode
- Breakpoints and Watches
- The Local Window
- The Immediate Window
Access - Object-Oriented Programming
- The Access object model
- Objects and Collections
- Events
- Methods and properties
- Data Access Object Library
Access User Interface Design
- Programming event procedures
- Dynamic combo boxes
- Handling user inputs
- Interface design considerations
- Menus
Access SQL & Database Design
- Filtering using various Where clause options
- Deriving data with calculated fields
- Inner table joins
- Outer table joins
- Sub-queries for filtering, virtual tables, and columns
- Creating and adding rows directly or via queries
- Updating and deleting records directly and via sub-queries
- Creating and dropping tables
- Establishing relationships
- Utilising primary and foreign keys
Excel - Object-Oriented Programming
- The Excel object model
- Objects and Collections
- Events
- Methods and properties
Excel – Programming Analysis Routines
- Sorting, filtering, and distributing data between worksheets and workbooks
- Controlling charts with VBA
- Controlling pivot tables with VBA
- Controlling What If scenarios with VBA
- Importing data from external files, the internet, etc.
Error Handling
- Stepping through code
- Identifying syntax errors
- Using Debug.Print
- Building error-trapping routines
Requirements
Participants should be proficient in using Excel formulas, sorting and filtering, creating charts, and building pivot tables. In Access, they should be able to maintain 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.