Course Outline
Introduction to VBA
- Overview of the VBA environment
- The VB Editor
- Navigating the Project Explorer
- The Toolbox
- Working with Modules
- Procedures and Functions
- Adding Comments
Programming Principles and Concepts
- Data types, variables, and constants
- Controlling program flow
- If...Then...Else logic
- Do...Loop, While, and Until constructs
- For...Next loops
- Input/Output, Message Boxes, and Input Boxes
- Form control manipulation and event-driven code
- Passing arguments and returning values
Debugging
- Runtime, Design Time, and Break Mode
- Setting Breakpoints and Watches
- The Local Window
- The Immediate Window
Access - Object-Oriented Programming
- The Access object model
- Objects and Collections
- Handling Events
- Methods and Properties
- The Data Access Objects (DAO) library
Access User Interface Design
- Writing event-driven procedures
- Implementing dynamic combo boxes
- Managing user inputs
- Interface design best practices
- Customizing Menus
Access SQL & Database Design
- Filtering using various Where clause options
- Deriving data through calculated fields
- Inner table joins
- Outer table joins
- Sub-queries for filtering, virtual tables, and columns
- Inserting data directly or via queries
- Updating and deleting records directly and through sub-queries
- Creating and dropping tables
- Establishing relationships
- Utilizing primary and foreign keys
Excel - Object-Oriented Programming
- The 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 using VBA
- Automating What If scenarios with VBA
- Importing data from external files and the internet
Error Handling
- Stepping through code execution
- Identifying syntax errors
- Using Debug.Print
- Creating error-trapping routines
Requirements
Participants should possess proficiency in standard Excel features such as formulas, sorting, filtering, charting, and pivot tables. Additionally, candidates should demonstrate the ability to manage tables, queries, forms, and reports within Microsoft Access.
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.