Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Instructor-led training - Instructor-led training

Excel VBA Introduction Courses UK WideExcel VBA Introduction Courses UK Wide

Face to face / Online public schedule & onsite training. Restaurant lunch included at STL venues.

Designed for Excel 365

Who is this course for?

This course is suitable for advanced users of Microsoft Excel. If they are responsible for very large and variable amounts of data, or teams, who need to learn how to program features and functions to develop the accessibility and usability of their data.

Prerequisites

A thorough knowledge of Microsoft Excel is required, or completion of our Microsoft Excel Advanced course.

Benefits


  • By the end of the course the delegate will be competent in the fundamentals of VBA, including recording macros, working with the Visual Basic Editor and writing their own code.
  • In order to ensure minimal downtime while building and rolling out the program, the course also includes advice on debugging code and handling errors.

You may also wish to consider our Excel forecasting and data analysis training course.

Course Syllabus

Introducing Visual Basic for Applications

Why use VBA?
Recording and running macros
Absolute v relative cell selection
Working with the Visual Basic Editor

Creating your own code

Understanding and creating modules
Defining procedures
Calling procedures
Where to store macros

Making decisions in code

Using logical comparisons
The IF...ENDIF structure
The SELECT CASE...END SELECT structure
When to use IF v SELECT CASE

Repeating code with loops

The DO... LOOP structure
The FOR... NEXT structure
The FOR EACH... NEXT structure
How to debug problems with loops

Debugging errors

Defining errors
Setting breakpoints to pause execution
How to step through code
Working with break mode to spot errors
Identifying the value of expressions

Understanding Visual Basic

What is an Object?
Examining the Excel object hierarchy
Using the object browser
How to explore methods and properties
Getting help in VBA

"What do I get on the day?"

Arguably, the most experienced and highest motivated trainers.

Face-to-face training

lunch

Training is held in our modern, comfortable, air-conditioned suites.

Modern-spec IT, fully networked with internet access

Lunch, breaks and timing

A hot lunch is provided at local restaurants near our venues:

  • Bloomsbury
  • Limehouse

Courses start at 9:30am.

Please aim to be with us for 9:15am.

Browse the sample menus and view joining information (how to get to our venues).

Refreshments

Available throughout the day:

  • Hot beverages
  • Clean, filtered water
  • Biscuits

Online training

online training (virtual)

Regular breaks throughout the day.

Learning tools

in-course handbook

In-course handbook

Contains unit objectives, exercises and space to write notes

Reference material

Available online. 100+ pages with step-by-step instructions

24 months access to Microsoft trainers

Your questions answered on our support forum.

What to expect when training

Training Formats & Services

  • On a public schedule at one of our
    London training venues.
  • On-site at your company office UK wide
  • Near-site, at a location close to you
  • Tailored courses to your requirements
  • Productivity Training Programs
  • Consultancy
  • Bespoke one-to-one
  • Rollout
  • TNA
  • Upgrade
  • Case studies

Doxa Partners LLP

gravatar

Dean Du,
Partner

Great course, very informative. Worked through many examples which really helped the learning process.

Thought Provoking Consulting

gravatar

Adam Hobbs,
Consultant

Trainer was very enthuastic and covered a lot of ground. One way to improve may be to provide the files that were used on the day so we can go back through the code (may already be a thing but not as far as I'm aware).

C.P. Hart & Sons Ltd

gravatar

Beth Manning,
Product Information Manager

Everything worked for me, I could see straight away how I could be using VBA in my day to day work. I now plan on using it for a far greater number of tasks than I thought I would initially

More testimonials

Public schedule dates

Next date Location Price
Thu 21 MayBloomsbury £290
Mon 15 JunOnline£290
Fri 26 JunBloomsbury £290
Wed 22 JulOnline£290
Mon 3 AugBloomsbury £290
Fri 28 AugOnline£290

And 19 more dates...

Loading...

Loading content...

TrustPilot

star star star star star Excellent

Resources

Blog

Tutorials and discussions on MS Office

Hints & Tips

MS Office tips to save you time

Cheat sheets

MS Office shortcut keys for all versions

Infographics

Handy info on industry trends

Subscribe

Latest news & offers

Promotions

Latest Feedback

  • 98.60% customer recommendation
  • 99.25% training objectives met
  • 232,986 delegates trained
  • 14,706 organisations trained

Latest X / Tweet

  • Our Engaging #NegotiationSkills course is helping professionals handle complex conversations with confidence ✅ Big shout‑out to Hazel for delivering high‑impact training. Support continues via our 2‑year forum 📈 #feedback #ProfessionalDpic.x.com/zwSaDgtLun/zwSaDgtLun
Loading...

Loading content...

Free manuals

We are providing a range of our course manuals free of charge.

Why not share this resource with your friends and colleagues?

Training manual sample

Below are some extracts from our Excel training manuals.

Mastering Simple VBA Automation

Excel VBA (Visual Basic for Applications) is a programming language developed by Microsoft that allows you to automate tasks and create custom functions in Excel. VBA can be used to write macros, which are sequences of instructions that Excel can execute to perform repetitive tasks, manipulate data, and interact with other applications. 

Examples of Excel VBA 

Example 1: Displaying a Message Box 

Open the VBA Editor: 

Press Alt + F11 to open the VBA editor. 

Insert a new module by clicking Insert > Module. 

Write the Code: 

Sub ShowMessage() 

MsgBox 'Hello, World!' 

End Sub 

Run the Macro: 

Press F5 or go back to Excel, press Alt + F8, select ShowMessage, and click Run. 

Example 2: Automating Data Entry 

Sub EnterValue() 

Range('A1').Value = 'Automated Entry' 

End Sub

Example 3: Looping Through a Range 

Sub LoopThroughRange() 

Dim cell As Range 

For Each cell In Range('A1:A10') 

cell.Value = 'Processed' 

Next cell 

End Sub 

Building Logic With Decision Structures

Let’s dive into the decision-making structures in Excel VBA: IF and SELECT CASE. 

IF Statement 

Sub CheckValue() 

Dim score As Integer 

score = 75 

If score >= 90 Then 

MsgBox 'Grade: A' 

ElseIf score >= 80 Then 

MsgBox 'Grade: B' 

ElseIf score >= 70 Then 

MsgBox 'Grade: C' 

Else 

MsgBox 'Grade: F' 

End If 

End Sub 

SELECT CASE Statement 

Sub CheckDay() 

Dim dayOfWeek As String 

dayOfWeek = 'Wednesday' 

Select Case dayOfWeek 

Case 'Monday' 

MsgBox 'Start of the work week!' 

Case 'Wednesday' 

MsgBox 'Midweek already!' 

Case 'Friday' 

MsgBox 'Almost the weekend!' 

Case Else 

MsgBox 'Just another day.' 

End Select 

End Sub 

Understanding Looping Techniques

Loop statement in VBA is used to repeat a block of code while a condition is true or until a condition becomes true. 

Loop Example 

Sub BasicDoLoop() 

counter = 0 

Do While counter < 10 

counter = counter + 1 

Debug.Print counter 

Loop 

End Sub 

Loop with If Statement 

Sub DoLoopWithIf() 

counter = 0 

Do 

counter = counter + 1 

If counter Mod 2 == 0 Then 

Debug.Print counter & ' is even' 

Else 

Debug.Print counter & ' is odd' 

End If 

Loop While counter < 10 

End Sub 

Loop with Exit Do 

Sub DoLoopWithExit() 

counter = 0 

Do 

counter = counter + 1 

If counter == 5 Then 

Exit Do 

End If 

Debug.Print counter 

Loop While counter < 10 

End Sub 

Essential Debugging Tools for VBA

Breakpoints 

Purpose: Halt the execution of your code at a specific line. 

Step Into (F8) 

Purpose: Execute your code line by line. 

Step Over (Shift+F8) 

Purpose: Execute the current line and move to the next one. 

Immediate Window 

Purpose: Test code snippets and evaluate expressions on the fly. 

Watch Window 

Purpose: Monitor the values of variables. 

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.66 secs.