Face to face / Online public schedule & onsite training. Restaurant lunch included at STL venues.
| (558 reviews, see all 106,604 testimonials) |
From £300 List price £350
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.
A thorough knowledge of Microsoft Excel is required, or completion of our Microsoft Excel Advanced course.
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
Arguably, the most experienced and highest motivated trainers.
Training is held in our modern, comfortable, air-conditioned suites.
Modern-spec IT, fully networked with internet access
A hot lunch is provided at local restaurants near our venues:
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).
Available throughout the day:
Regular breaks throughout the day.
Contains unit objectives, exercises and space to write notes
Available online. 100+ pages with step-by-step instructions
Your questions answered on our support forum.
|
|
Mazars LLP
Daleep Shahi,
Investment Nalaysr
Great beginner course from first principles.
Excel VBA Introduction
BBMV JV Crossrail C510
Hamish Macdonald,
Surveyor
Structure of the course for VBA introduction is a good pace to follow.
Course tutorial feels like a good integration almost like a one to one training day with the class not overcrowded and a good pace.
Enjoyable experience in learning VBA for the first time.
Excel VBA Introduction
CH2M
Barthelemy Monhonval,
Consultant
The course was very good, maybe a bit too basic for my level but was good revision as i do not use VBA very often. Also the course is an introduction, therefore probably the right level.
It would be useful to be able to take the code we wrote back home with us or to have a copy of the code in the manual as some section of the code are useful when starting coding.
Excel VBA Introduction
| Next date | Location | Price |
|---|---|---|
| Thu 21 May | Bloomsbury | £290 |
| Mon 15 Jun | Online | £290 |
| Fri 26 Jun | Bloomsbury | £290 |
| Wed 22 Jul | Online | £290 |
| Mon 3 Aug | Bloomsbury | £290 |
| Fri 28 Aug | Online | £290 |
And 20 more dates...
Loading content...

Excellent
HSBC
Project Manager
Alexander Orlov
"I was looking for a specific training for my data analytical team to equip them with more tools to slice and dice the data, building more trust worthy sophisticated propensity models, using SQL, VBA and Excel. I came across with STL training and my research and expectations were match by 100%. Spot on! Great professionals! Highly recommended for all banking and financial professionals that are using Excel on BAU basis."
Tutorials and discussions on MS Office
MS Office tips to save you time
MS Office shortcut keys for all versions
Handy info on industry trends
Latest news & offers
Loading content...
Below are some extracts from our Excel training 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.
Sub ShowMessage()
MsgBox 'Hello, World!'
End Sub
Press F5 or go back to Excel, press Alt + F8, select ShowMessage, and click Run.
Sub EnterValue()
Range('A1').Value = 'Automated Entry'
End Sub
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
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.
Sub BasicDoLoop()
counter = 0
Do While counter < 10
counter = counter + 1
Debug.Print counter
Loop
End Sub
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
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.
Call for assistance
We will call you back