Master Microsoft VBA (Visual Basic for Applications) and automate your everyday tasks across Office applications like Excel, Access, and Word. Our expert-led training will teach you how to write code that saves you time, reduces errors, and customises your applications to meet your exact needs.
Our face-to-face and online VBA courses are available in London and UK-wide. With a proven track record of excellence, we have trained over 173,535 people in Microsoft applications since 2001.












Our team provides hands-on, context-rich practical work-shops. They draw upon their considerable real world experience to deliver learning that is valuable and relevant with immediate impact/ROI.


Citigroup
Vice President
D.P.
Top-quality training by friendly instructors in good venues
"I've done several courses with these guys, including Advanced Excel and PowerPoint. The days are well organised and they lay on a great lunch, too. Their tutors are always lively and engaged with attendees. I thoroughly recommend their services."
Below are some extracts from our VBA manuals.
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.
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
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
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
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.
VBA Courses in London are the most popular way to learn to use Visual Basic. Once you reach a sufficient level you can interact with other Office applications such as Access and Word. In addition, VBA can connect to other data sources such as a SQL or Oracle database. We offer VBA training in London and UK wide. Contact us for further information.
Our Visual Basic London Course is taught via our training centres in the city. Alternatively you can choose to have your training on-site and we will come to you. The Excel VBA course will significantly reduce the amount of errors made in a delegates day to day operations.
Our expert trainers teach VBA training courses for all versions of Microsoft Visual Basic. We have professional training centres in London and also provide on-site and near-site training throughout the UK.
NB. A lot of people find this page using the search phrases visual+basic+courses+uk and vb training course. If this is the case, we recommend that you visit our course overview page to figure out the most relevant training course for your needs.
Call for assistance
We will call you back