MS Excel – VBA and Macros

Start Dates: TBC

Duration: 1 Day Book Now

Programme overview

During the Introduction to VBA course Delegates will apply the Visual Basic for Applications (VBA) programming language to simplify many of the tasks. They have learned in Excel Introduction, Intermediate, and Advanced. Delegates will use VBA to create macros for automating repetitive tasks in Excel.

Learning outcomes:

  • This course is intended for delegates looking to gain the skills necessary to apply VBA to develop macros, format worksheets, create user interactive macros, work with multiple worksheets, and perform calculations. In addition, students who already have knowledge of the basics of Excel, including how to create, edit, format, and print worksheets that include charts and sorted and filtered data.

Who is the course for?

  • Delegates who are working with Excel VBA and develop their macro skills.


Introducing Visual Basic for Applications

  • Displaying the Developer Tab in the Ribbon
  • Recording a Macro
  • Saving a Macro-Enabled Workbook
  • Running a Macro
  • Editing a Macro in the Visual Basic Editor
  • Understanding the Development Environment
  • Using Visual Basic Help
  • Closing the Visual Basic Editor
  • Understanding Macro Security

Working with Procedures and Functions:

  • Understanding Modules
  • Creating a Standard Module
  • Understanding Procedures
  • Creating a Sub Procedure
  • Calling Procedures
  • Using the Immediate Window to Call Procedures
  • Creating a Function Procedure
  • Naming Procedures
  • Working with the Code Editor

Understanding Objects:

  • Navigating the Excel Object Hierarchy
  • Understanding Using the Object Browser
  • Working with Properties
  • Using the With Statement
  • Working with Methods
  • Creating an Event Procedure

Using Expressions, Variables, and Intrinsic Functions:

  • Understanding Expressions and Statements
    • Declaring Variables
    • Understanding Data Types
    • Working with Variable Scope
    • Using Intrinsic Functions
    • Understanding Constants
    • Using Intrinsic Constants
    • Using Message Boxes
    • Using Input Boxes
    • Declaring and Using Object Variable

Controlling Program Execution:

  • Understanding Control-of-Flow Structures
  • Working with Boolean Expressions
  • Using the If…End If Decision Structures
  • Using the Select Case…End Select Structure
  • Using the Do…Loop Structure
  • Using the For…To…Next Structure
  • Using the For Each…Next Structure
  • Guidelines for use of Control-of-Flow Structures

Working with Forms and Controls:

  • Understanding UserForms
  • Using the Toolbox
  • Working with UserForm Properties, Events, and Methods
  • Understanding Controls
  • Setting Control Properties in the Pro

Trainer Profile:

Please contact for more information on Training Providers.