MS Excel – Advanced VBA Programming (MSEVB2)

Microsoft, Programming

This course is for users who want to advance programming in MS Excel with Visual Basic for Applications (VBA). It builds on basic VBA knowledge and covers the IDE, macro recording, debugging, variables and arrays, modular design and automation patterns for reliable code.

After the course you will control Excel's object model, create user forms, automate file and folder tasks using File System Object (FSO), work with the Windows registry, build database interfaces, produce add-ins and automate other Office apps from Excel.

THIS TRAINING COURSE WILL HELP YOU:

  • Develop advanced VBA procedures and functions
  • Work with the Excel object model, sheets, ranges
  • Create user forms and custom dialog windows
  • Manage files and folders with FSO and registry access
  • Build simple database interfaces and add-ins

WHO SHOULD ATTEND?

  • Developers with basic VBA knowledge
  • Excel power users seeking automation skills
  • Analysts needing custom tools and Office integration

COURSE LOCATION AND AVAILABLE DATES



Public courses are usually delivered in Czech, but this course is also available in English. We can arrange private training for your team online, at your premises or in our classrooms, and tailor the content to your needs.

For groups of around 4 or more participants, private training can already be comparable in price to booking individual places on a public course. Send us your requirements and we’ll recommend the best format and provide an exact quote.

Request training in English

Course content:

Hide details
  • Introduction
    1. Development environment
    2. Recording and editing macros
    3. Using variables, static and dynamic arrays
    4. Creating procedures and functions
    5. Required, optional parameters and parameter arrays
    6. Standard VBA functions
    7. Branching, conditional statements and loops
  • Excel objects
    1. References, properties and methods of cells and ranges
    2. Working with worksheets and workbooks, their properties and methods
    3. Properties and methods of the Application object and collections
    4. Merging recorded macros into a final project
  • Excel events
    1. Using worksheet events
    2. Workbook events
    3. Application object events
  • Using controls, their properties and events
    1. Controls on worksheets
    2. User forms with controls
  • Dialog boxes
    1. Working with Excel dialog boxes
    2. Creating custom dialog boxes
  • Working with files
    1. Standard file handling (CSV, TXT, INI, ...)
    2. File and folder management with File System Object (FSO)
  • Customizing the Excel environment
    1. Adding commands to the ribbon
    2. Creating context menus
    3. Building custom ribbons using XML
  • Power Query
    1. Creating connections through data transformation
    2. Applying Power Query results to new sheets
Prerequisites:
Basic VBA programming skills equivalent to a VBA I course.
Recommended previous course:
MS Excel – Intelligent Automation with Power Query, VBA and AI (MSEVB1)
Schedule:
3 days (9:00-17:00)
Price per person:
476.00 € ( 575.96 € incl. 21% VAT)

Training and learning environment