Duration: 24 Hours
Timing: Flexible
Course Overview
Excel VBA, which stands for Visual Basic for Applications, is a programming language developed by Microsoft — you know, the company run by the richest man in the world. Excel, along with the other members of Microsoft Office 2003, includes the VBA language (at no extra charge). In a nutshell, VBA is the tool that people use to develop programs that control Excel.
For example, you might create a VBA program to format and print your month-end sales report. After developing and testing the program, you can execute the macro with a single command, causing Excel to automatically perform many time-consuming procedures.
Course Outline
- Excel VBA Object Model
- The protection sheet from Excel VBA
- Object Workbook, Workbooks collection
- Worksheet Object, Collection Worksheets
- Validation sheets
- Practical methods of the Range object
- Copy, paste, paste special
- Property Current Region
- Find, replace
- Sorting ranges
- Charts (Object Chart)
- Events
- Application-level events
- Boards
- Dynamic arrays
- Table arrays Variant
- Optimizing arrays and memory
- Multi-dimensional arrays
- Object-Oriented Programming
- Classes and Objects
- Creating classes
- Creating and Destroying Objects
- Create methods
- Create property
- Validation data using property
- The default properties and methods
- Error handling in the classroom
- Create and manage collections
- Create a collection
- Adding and removing items
- References to the components (using a key and an index)