Get in Touch
 Duration 14 hours

Course Outline

Excel Object Model

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

Events

  • Application-level event handling

Arrays

  • Dynamic arrays
  • Variant arrays
  • Optimizing array performance and memory usage
  • Multi-dimensional arrays

Object-Oriented Programming

  • Understanding classes and objects
  • Defining new classes
  • Instantiating and destroying objects
  • Implementing methods
  • Defining properties
  • Validating data through properties
  • Default properties and methods
  • Error handling within class modules

Creating and Managing Collections

  • Creating a collection object
  • Adding and removing elements
  • Accessing items via keys and indexes

Advanced VBA Structures and Functions

  • Passing arguments by value (ByVal) and by reference (ByRef)
  • Procedures accepting variable argument lists
  • Handling optional parameters and default values
  • Flexible procedures using ParamArray
  • Using Enumerations for efficient parameter handling
  • User-defined Types (UDT)
  • Handling Null, Nothing, empty strings, and zero values
  • Data type conversion techniques

File Operations

  • Opening and closing text files
  • Reading and writing text and binary data
  • Processing CSV file records
  • Optimizing text file processing efficiency

Using VBA Functions in Other Applications

Additional Topics

  • Developing custom add-ins
  • Creating supplementary toolbars
  • Installing and protecting custom add-ins

Utilizing External Libraries

Connecting to External Databases (ODBC, OLEDB)

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories