Excel

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.

Prerequisites

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
Userforms
  • 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.

mpn

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.

Testimonials

"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

"I wholly recommend NC training services. I received PowerPoint advanced training and the knowledge and support given by Andie was nothing short of superb. Some months after the training, I found I was struggling with some audio and animation so I decided to try the follow up support which is available as a part of their service for a period of time following the training. All I can say is that Andie went above and beyond, on her day off, to help me sort it out which I could not have done without her. The attention to customer service is super impressive, on another level. I have no hesitation at all in recommending NC training services."

Marie Hill, Hillarys