Advanced Excel Macros and VBA Programming

To elevate delegates programming skills to a professional level.

Course Outline
Advanced Excel Macros and VBA Programming 2 Days

Who is it for?

This course is designed for those who already have significant VBA programming experience and would like to enhance all the advanced features of VBA. At the end of the course, you will be able to optimise your code, manipulate complex data structures and create your own objects using class modules.


Delegates should have attended the Intermediate VBA course or have the equivalent knowledge and experience of programming in VBA.

Review of Coding Techniques
  • Control structures and their use
  • Declaring and using variables
  • Objects, properties and methods
  • Debugging and Error Handling
Good Programming Practice
  • What is Good Programming Practice?
  • Elements of good programming practice
  • Indentation and comments
  • Correct use of control structures
  • Modular Programming
  • How to identify BAD programming practice
  • Identifying redundant code (modules & procedures)
  • Create and populate arrays of values
  • Fixed vs. dynamic arrays
  • Array optimization
  • Multidimensional arrays
  • Arrays and objects
  • Resizing arrays while keeping data
Importing Data from Databases using ADO
  • Understanding Active-X data objects (ADO)
  • Referencing the ADO Object Library
  • The Connection string
  • Opening and using Recordsets
  • Manipulating data
Consolidating Data
  • Importing and Consolidating Data from Other Files (Excel and Text)
  • Import data
  • Copy data into other sheets
  • File system objects and dialogs
  • Read and write text files
Charting in VBA
  • Overview of chart related objects
  • Create a chart sheet through VBA
  • Create an embedded chart through VBA
Using the PivotTable Object
  • Defining PivotTables through VBA
  • Create a Pivot Cache
  • Create a Pivot Table
  • Define the structure of the Pivot Table using PivotFields
Object Oriented Programming
  • What is a class?
  • Creating a class module
  • Creating properties and methods

Tags: Microsoft Excel

About the Trainers

Qualifications - European Computing Driving License (ECDL) Microsoft Office Specialists (MOS) Microsoft Office User Specialist (MOUS), Microsoft Certified Applications Specialist (MCAS), 2 of our trainers have taken the Institute of Learning Management Train the Trainer Master Class Award. Every trainer has a minimum of 5 years training experience.


NC Member logo

Latest News

Windows 10

Windows courses now available.

New courses for Microsoft Windows 10 available NOW – be one of the first to see it with us.

Microsoft Office Training

NEW Microsoft 365 Training – our most popular course, this course looks at making the most of using Office 365 including popular apps such as Teams, Forms and OneNote as well as the differences between the main Microsoft packages and the online ones. This course is a must for homeworkers.

NEW virtual courses – for Soft Skills, Management and Microsoft training. Half a day and full day training courses available.

Microsoft Office weekday, weekend, face to face and virtual training now available.

Microsoft Office 2016 and 2019 upgrade training courses.


"This morning I set up a Macro (as per Thursday’s advanced course) and recorded the whole operation so I could apply to future reports downloads and ‘wow’ this has really saved so much time -thank you."

Iris Vicary, Telent

"After taking part in the intermediate and advanced excel courses I soon booked onto the word training. Nicola was both helpful and technical. The courses were just the right length and I would strongly recommend."

James Harris, Critchleys Chartered Accountants