Course Outline
Excel Object Model
- Protecting sheets from VBA interference
- Workbook objects and the Workbooks collection
- Worksheet objects and the Worksheets collection
- Sheet validation techniques
- Practical methods for the Range object
- Copy, paste, and paste special operations
- The CurrentRegion property
- Find and replace functionality
- Sorting ranges
- Chart objects
Events
- Application-level event handling
Arrays
- Dynamic arrays
- Variant arrays and table structures
- Optimizing array usage and memory management
- Multi-dimensional arrays
Object-Oriented Programming
- Understanding classes and objects
- Defining new classes
- Instantiating and destroying objects
- Implementing methods
- Defining properties
- Validating data through properties
- Default properties and methods
- Error handling within class modules
Creating and Managing Collections
- Building custom collections
- Adding and removing items
- Accessing components via keys and indices
Advanced VBA Structures and Functions
- Passing parameters by value and reference (ByVal and ByRef)
- Procedures with variable parameter counts
- Handling optional parameters and defaults
- Procedures with an unknown number of parameters (ParamArray)
- Enumerations for simplified parameter passing
- User-Defined Types (UDTs)
- Managing Null, Nothing, empty strings (""), Empty, and 0 values
- Type conversion techniques
File Operations
- Opening and closing text files
- Reading and writing text and binary data
- Processing CSV file records
- Optimizing text file processing
Using VBA Functions in External Applications
Additional Topics
- Developing custom add-ins
- Creating custom toolbars
- Installing and protecting custom add-ins
Integrating External Libraries
Connecting to External Databases (ODBC, OLEDB)
Testimonials (7)
I like the hands on training and seeing us solve for issues on the spot.
Jon Matrille - LocumTenens.com
Course - Visual Basic for Applications (VBA) in Excel - Advanced
I really enjoy the training. Huge and practical! knowledge of the trainer combined with his skill to conduct the training made the training time very efficient. The trainer recognized the level of participant's experience in VBA and provided exercises relevant to that experience which made the training very useful.
Barbara Peek - UBS Business Solutions Poland Sp. z o.o.
Course - Visual Basic for Applications (VBA) in Excel - Advanced
I was benefit from the trainer knowledge, explanation and tips.
Kornel Tymcio - UBS Business Solutions Poland Sp. z o.o.
Course - Visual Basic for Applications (VBA) in Excel - Advanced
I liked the trainer, nice guy with great attitude.
Lukasz Kanior - UBS Business Solutions Poland Sp. z o.o.
Course - Visual Basic for Applications (VBA) in Excel - Advanced
I generally enjoyed the knowledge and sense of humor.
Lukasz Rozga - UBS Business Solutions Poland Sp. z o.o.
Course - Visual Basic for Applications (VBA) in Excel - Advanced
I mostly was benefit from the fitted training to people needs.
Robert Solek - UBS Business Solutions Poland Sp. z o.o.
Course - Visual Basic for Applications (VBA) in Excel - Advanced
The whole topic is interesting - everything was OK.