Intermediate Excel Macros and VBA Programming

To explore further the object techniques available in the VBA programming language, focussing on best practices and efficiency of coding.

Course Outline
Intermediate Excel Macros and VBA Programming Programming 1 Day

Who is it for?

This course is designed for those who have a basic grasp of VBA and would like to enhance their existing skills. At the end of the course, you will be able to manipulate ranges more efficiently, create a user defined function and be able to create a custom data entry screen utilising a UserForm.


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

Coding Techniques

    Review of Basic Coding Techniques

  • Recording macros
  • Control structures and their use
  • Declaring and using variables
  • Objects, properties and methods
  • Debugging Techniques
More on Objects
  • The Excel Object Model
  • What is a collection?
  • The FOR EACH loop
  • Using an object as a variable
The Range Object
  • What is a range object?
  • Different types of range object
  • Useful properties
  • Useful methods
Controlling other applications
  • Referencing other applications
  • Instantiating objects
  • Writing inter-application code
  • Connecting to other Office applications
  • Overview of Word object model
  • Overview of Outlook object model
User Defined Functions
  • Define a user defined function (UDF)
  • Define the arguments to the function
  • Passing by reference or by value
  • (ByRef or ByVal)
  • Optional and default parameters
  • Use the function in an Excel workbook
Share Functions

    Methods for sharing the Function

  • Using the personal macro workbook
  • Creating an Add-In
  • Loading the Add-In
  • Create a custom data entry screen using a Userform
  • Adding controls to a Userform
  • Controlling the Userform

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