Microsoft Excel Macros & VBA Part 1

Course Code: MSEXVBAP1

Duration: 1 day

Price: £425

Upcoming Events

  • Virtual Classroom
  • Wed 22 July 2026
  • 1 day
  •  £425.00   (€490.00) 
  • Virtual Classroom
  • Mon 12 October 2026
  • 1 day
  •  £425.00   (€490.00) 
  • Virtual Classroom
  • Mon 25 January 2027
  • 1 day
  •  £425.00   (€490.00) 
  • Virtual Classroom
  • Tue 20 April 2027
  • 1 day
  •  £425.00   (€490.00) 

Course Overview:

This course introduces delegates to Visual Basic for Applications (VBA) for Microsoft Excel. It enables them to create simple code and macros using the Visual Basic language in order to automate formatting tasks and create custom functions. It is aimed at those who have a good working knowledge of Excel, but limited prior knowledge of VBA, who want to be able to automate tasks and extend the functionality of Excel further.

Target Audience:

This course is perfect for people who wish to gain the skills necessary to create macros and custom functions and understand the terminology and behaviour of the Visual Basic language.

Course Objectives:

By actively participating in this course, you will learn about the following:

  • Using the Developer Tab.
  • Recording and running macros.
  • Swapping values in a macro.
  • Creating messages.
  • Understanding Workbook/Worksheet Objects and their properties.
  • Understanding how to declare Range, Cell, Row, and Column Objects.
  • Understanding variables such as Integers, Strings, Double and Boolean.

Course Content:

Create a Macro

  • Swap Values
  • Run Code from a Module
  • Macro Recorder
  • Use Relative References
  • Formula R1C1
  • Add a Macro to the Toolbar
  • Enable Macros
  • Protect Macro

 MsgBox

  • MsgBox Function
  • InputBox Function

 Worksheet and Worksheet Object

  • Path and FullName
  • Close and Open
  • Loop through Books and Sheets
  • Sales Calculator
  • Files in a Directory
  • Import Sheets
  • Programming Charts

 Range Object

  • Current Region
  • Dynamic Range
  • Resize
  • Entire Rows and Columns
  • Offset
  • From Active Cell to Last Entry
  • Union and Intersect
  • Test a Selection
  • Possible Football Matches
  • Font and Background Colours
  • Areas Collection and Compare Ranges

 Variables

  • Option Explicit
  • Variable Scope
  • Life of Variables
  • Type Mismatch

Prerequisites:

As this is an introductory course, you do not need any prior experience using Visual Basic for Applications for Microsoft Excel. However, you should have a good working knowledge of Excel more generally. We recommend you first attend the following courses or have equivalent knowledge:

  • Microsoft Excel Level 1
  • Microsoft Excel Level 2

Software Requirements for Virtual Classroom
If you are attending one of our Virtual Classroom courses, you will need to have Microsoft Excel 2013, 2016, 2019 or 365 (desktop version) installed on your device. You may notice differences in software if using a MAC. For the best experience we also recommend that you have two screens and a working microphone. A webcam is optional, but very much appreciated by our trainers!

Certification / Exam:

There is no exam relating to this course.

Further Information:

For more information or to book this course, please contact our Course Enquiries Team on 0117 370 1970 or email us at enquiries@skilltec.co.uk