Get in Touch

Course Outline

Excel Object Model

  • Protecting worksheets from VBA
  • The Workbook object and the Workbooks collection
  • The Worksheet object and the Worksheets collection
  • Worksheet validation
  • Practical methods of the Range object
  • Copy, paste, and paste special operations
  • The CurrentRegion property
  • Find and replace functionality
  • Sorting ranges
  • Charts (Chart object)

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
  • Creating and destroying objects
  • Defining methods
  • Defining properties
  • Data validation using properties
  • Default properties and methods
  • Error handling within class modules

Create and Manage Collections

  • Creating a collection
  • Adding and removing items
  • Referencing components (using keys and indexes)

Advanced VBA Structures and Functions

  • Passing parameters by value and by reference (ByVal and ByRef)
  • Procedures with a variable number of parameters
  • Optional parameters and default values
  • Procedures with an unknown number of parameters (ParamArray)
  • Enumeration for convenient parameter passing
  • User-defined types (Type)
  • Special values: Null, Nothing, empty string "", Empty, and 0
  • 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
  • Building toolbars for add-ins
  • Installing and protecting custom add-ins

Using External Libraries

Connecting to External Databases (ODBC, OLEDB)

 14 Hours

Testimonials (7)

Related Categories