Get in Touch

Course Outline

Excel Object Model

  • Protecting sheets from VBA
  • The Workbook object and Workbooks collection
  • Worksheet object and Worksheets collection
  • Data validation in sheets
  • 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 array tables
  • Optimizing arrays and memory usage
  • Multi-dimensional arrays

Object-Oriented Programming

  • Classes and Objects
  • Creating classes
  • Instantiating and Destroying Objects
  • Defining methods
  • Defining properties
  • Validating data via properties
  • Default properties and methods
  • Error handling in class modules

Creating and Managing Collections

  • Creating a collection
  • Adding and removing items
  • Accessing components (using keys and indices)

Advanced VBA Structures and Functions

  • Passing parameters by value and reference (ByRef and ByVal)
  • Procedures with a variable number of parameters
  • Optional Parameters and Default Values
  • Procedures accepting an unknown number of parameters (ParamArray)
  • Enumerations for convenient parameter passing
  • User-defined Types (UDT)
  • Understanding 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
  • Designing toolbars for add-ins
  • Installing custom add-ins and implementing protection

Using External Libraries

Connecting to External Databases (ODBC, OLEDB)

 14 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories