Visual Basic for Applications (VBA) in Excel - Advanced Training Course

Course Code

vbaexceladv

Duration

14 hours (usually 2 days including breaks)

Requirements

It is assumed that course participants are already familiar with Excel spreadsheet and know how to program in VBA or any procedural language (Pascal, C, Basic, etc.). It is recommended to complete the course Visual Basic for Applications - Introduction to Programming<

Overview

The course reveals the secrets of effective writing advanced applications in VBA application MsExcel.

After the course you can:

  • Write an advanced object-oriented application
  • Convert text files
  • Use of external data sources
  • Use external libraries

Course Outline

Excel Object Model

  • The protection sheet from VBA
  • Object Workbook, Workbooks collection
  • Worksheet Object, Collection Worksheets
  • Validation sheets
  • Practical methods of the Range object
  • Copy, paste, paste special
  • Property CurrentRegion
  • 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 class module

Create and manage collections

  • Create a collection
  • Adding and removing items
  • References to the components (using a key and an index)

Advanced structures and functions VBA

  • Passing parameters by value and reference (ByRef and ByVal)
  • Procedures with a variable number of parameters
  • Optional Parameters and Defaults
  • Procedures of unknown number of parameters (ParamArray)
  • Enumeration, convenient parameter passing
  • Type the user (User-defined Type)
  • Service Null, Nothing, empty string "", Empty, 0
  • Type conversion (Conversion)

File Operations

  • Opening and closing text files
  • Reading and writing text and binary data
  • Processing of records in the CSV file
  • Efficient processing of text files

Use VBA functions in other applications

Extras

  • Create your own add-ons
  • Create a toolbar for addition
  • Installing your own add-ons and their protection

Using external libraries

Connecting to external databases (ODBC, OLEDB)

Testimonials

★★★★★
★★★★★

Course Discounts Newsletter

We respect the privacy of your email address. We will not pass on or sell your address to others.
You can always change your preferences or unsubscribe completely.

Some of our clients

is growing fast!

We are looking to expand our presence in Jordan!

As a Business Development Manager you will:

  • expand business in Jordan
  • recruit local talent (sales, agents, trainers, consultants)
  • recruit local trainers and consultants

We offer:

  • Artificial Intelligence and Big Data systems to support your local operation
  • high-tech automation
  • continuously upgraded course catalogue and content
  • good fun in international team

If you are interested in running a high-tech, high-quality training and consulting business.

Apply now!