Course Outline
Excel Object Model
- Protecting sheets via VBA
- Workbook objects and Workbooks collection
- Worksheet objects and Worksheets collection
- Sheet validation
- Practical Range object methods
- Copy, paste, and paste special operations
- CurrentRegion property
- Find and replace functionality
- Sorting ranges
- Charts (Chart objects)
Events
- Application-level events
Arrays
- Dynamic arrays
- VARIANT table arrays
- Optimizing arrays and memory usage
- Multi-dimensional arrays
Object-Oriented Programming
- Classes and Objects
- Creating classes
- Instantiating and destroying objects
- Defining methods
- Defining properties
- Data validation using properties
- Default properties and methods
- Error handling in class modules
Creating and Managing Collections
- Creating a collection
- Adding and removing items
- Referencing components (using keys and indices)
Advanced VBA Structures and Functions
- Passing parameters by value and by reference (ByRef and ByVal)
- Procedures with variable numbers of parameters
- Optional parameters and default values
- Procedures accepting an unknown number of parameters (ParamArray)
- Enumerations for convenient parameter passing
- User-defined Types (UDTs)
- Handling Null, Nothing, empty strings (""), Empty, and 0
- Data type conversion
File Operations
- Opening and closing text files
- Reading and writing text and binary data
- Processing records in CSV files
- Efficient processing of text files
Using VBA Functions in Other Applications
Extras
- Creating custom add-ins
- Creating toolbars for add-ins
- Installing custom add-ins and protecting them
Using 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.