Course Outline
Introduction to VBA
- Overview of the VBA environment
- Visual Basic Editor
- Navigating the Project Explorer
- Utilizing the Toolbox
- Working with Modules
- Understanding Procedures and Functions
- Implementing Comments
Core Programming Concepts
- Data types, variables, and constants
- Controlling program flow
- If...Then...Else structures
- Do...Loop, While, and Until loops
- For...Next statements
- Input and Output operations, including Message and Input boxes
- Code-behind forms and manipulation of Form controls
- Passing arguments and returning values
Debugging Techniques
- Run Time, Design Time, and Break Mode
- Setting Breakpoints and Watches
- Using the Local Window
- Utilizing the Immediate Window
Object-Oriented Programming in Access
- Understanding the Access Object Model
- Objects and Collections
- Managing Events
- Methods and Properties
- Data Access Object Library
Access User Interface Design
- Writing event procedure code
- Creating Dynamic Combo Boxes
- Handling User Inputs
- Key Interface design considerations
- Custom Menus
Access SQL and Database Design
- Filtering data with various Where clause options
- Deriving data through calculated fields
- Inner table joins
- Outer table joins
- Sub-queries for filtering, virtual tables, and columns
- Creating records: adding rows directly or via queries
- Updating and Deleting records: directly and via sub-queries
- Creating and Dropping tables
- Establishing relationships
- Application of primary and foreign keys
Object-Oriented Programming in Excel
- Understanding the Excel Object Model
- Objects and Collections
- Managing Events
- Methods and Properties
Excel Programming for Data Analysis
- Sorting, filtering, and distributing data across worksheets and workbooks
- Automating chart control via VBA
- Automating pivot table control via VBA
- Managing What-If scenarios with VBA
- Importing data from external files, the internet, and other sources
Error Handling
- Stepping through code execution
- Identifying syntax errors
- Using Debug.Print for diagnostics
- Developing robust error-trapping routines
Requirements
Participants should already be proficient in using Excel features such as formulas, sorting, filtering, charts, and pivot tables. Regarding Access, attendees must be capable of managing 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.