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
- Incorporating Comments
Programming Principles and Concepts
- Data types, variables, and constants
- Control flow structures
- If...Then...Else logic
- Do...Loop, While, and Until loops
- For...Next loops
- 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
- Utilizing the Local Window
- Using the Immediate Window
Access Object-Oriented Programming
- Understanding the Access object model
- Objects and Collections
- Handling Events
- Methods and properties
- The Data Access Object (DAO) Library
Access User Interface Design
- Developing event procedures
- Implementing dynamic combo boxes
- Managing user inputs
- Key considerations for interface design
- Customizing Menus
Access SQL and Database Design
- Filtering with various WHERE clause options
- Deriving data through calculated fields
- Inner table joins
- Outer table joins
- Subqueries for filtering, virtual tables, and columns
- Creating records: adding rows directly or via queries
- Updating and deleting records: directly and through subqueries
- Creating and dropping tables
- Establishing relationships
- Utilizing primary and foreign keys
Excel Object-Oriented Programming
- Understanding 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 via VBA
- Automating PivotTables with VBA
- Managing What-If scenarios using VBA
- Importing data from external files and the internet
Error Handling
- Stepping through code
- Identifying syntax errors
- Using Debug.Print for diagnostics
- Implementing error-trapping routines
Requirements
Participants should already be proficient in Excel, including the use of formulas, data sorting and filtering, chart creation, and PivotTables, among other features. Regarding Access, they should possess the ability to manage tables, queries, forms, and reports effectively.
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.