Get in Touch

Course Outline

Excel Object Model

  • Protecting sheets via VBA
  • Workbook object and Workbooks collection
  • Worksheet object and Worksheets collection
  • Sheet validation techniques
  • Practical usage of the Range object
  • Copy, paste, and paste special operations
  • CurrentRegion property
  • Find and replace functions
  • 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
  • Creating methods
  • Creating 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
  • References to components (using keys and indices)

Advanced VBA structures and functions

  • Passing parameters by value and by reference (ByRef and ByVal)
  • Procedures with a variable number of parameters
  • Optional Parameters and Defaults
  • Procedures with an unknown number of parameters (ParamArray)
  • Enumeration for convenient parameter passing
  • User-defined Types (UDT)
  • Handling 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 your own add-ins
  • Creating toolbars for add-ins
  • Installing your own add-ins and protecting them

Using external libraries

Connecting to external databases (ODBC, OLEDB)

 14 Hours

Testimonials (7)

Upcoming Courses

Related Categories