Microsoft Excel VBA Course (Visual Basic)

Microsoft Excel VBA Course (Visual Basic)

Microsoft Excel short courses in Sydney, open to everyone.

Learn to work smarter with your data with our Microsoft Excel courses in Sydney.

Microsoft Excel is one of the world’s most popular spreadsheet software applications. Learn Microsoft Excel with our Microsoft Excel courses in Sydney - short courses open to everyone.

This Microsoft Excel VBA course is an advanced Excel course that will enable participants to create real life working VBA applications within Excel. You will be able to work with VBA within the Excel environment to program and automate worksheet operations.

Learning Outcomes

At the completion of this Microsoft Excel VBA course you should be able to:

  1. Understand the Excel object model and VBA concepts.
  2. Work effectively with the main features of the VBA Editor window.
  3. Create procedures in VBA.
  4. Create and use variables.
  5. Create and work with user-defined functions in VBA.
  6. Write code to manipulate Excel objects.
  7. Use a range of common programming techniques.
  8. Create a custom form complete with an assortment of controls.
  9. Create code to drive a user form.
  10. Create procedures that start automatically.
  11. Write a variety of error handling routines.

Course Content

The following content will be covered in this Microsoft Excel VBA course:

Understanding Microsoft Excel VBA

  • Programming in Microsoft Excel.
  • VBA Terminology.
  • Displaying the Developer Tab.
  • The VBA Editor Screen.
  • Opening and Closing the Editor.
  • Understanding Objects.
  • Viewing the Excel Object Model.
  • Using the Immediate Window.
  • Working With Object Collections.
  • Setting Property Values.
  • Working With Worksheets.
  • Using the Object Browser.
  • Programming With the Object Browser.
  • Accessing Help.
  • Code Glossary.

Starting With Microsoft Excel VBA

  • Using the Project Explorer.
  • Working With the Properties Window.
  • Using the Work Area.
  • Viewing Other Panes.
  • Working With Toolbars.
  • Working With a Code Module.
  • Running Code From the Editor.
  • Setting Breakpoints in Code.
  • Stepping Through Code.

Microsoft Excel VBA Procedures

  • Understanding Procedures.
  • Where to Write Procedures.
  • Creating a New Sub Routine.
  • Using IntelliSense.
  • Using the Edit Toolbar.
  • Commenting Statements.
  • Indenting Code.
  • Bookmarking in Procedures.
  • Code Glossary.

Using Variables with Microsoft Excel VBA

  • Understanding Variables.
  • Creating and Using Variables.
  • Explicit Declarations.
  • The Scope of Variables.
  • Procedure Level Scoping.
  • Module Level Scoping.
  • Understanding Passing Variables.
  • Passing Variables by Reference.
  • Passing Variables by Value.
  • Understanding Data Types for Variables.
  • Declaring Data Types.
  • Using Arrays.
  • Code Glossary.

Functions in Microsoft Excel VBA

  • Understanding Functions.
  • Creating User-Defined Functions.
  • Using a User-Defined Function in a Worksheet.
  • Setting Function Data Types.
  • Using Multiple Arguments.
  • Modifying a User-Defined Function.
  • Creating a Function Library.
  • Referencing a Function Library.
  • Importing a VBA Module.
  • Using a Function in VBA Code.
  • Code Glossary.

Using Microsoft Excel Objects

  • The Application Object.
  • The Workbook Objects.
  • Program Testing With the Editor.
  • Using Workbook Objects.
  • The Worksheets Object.
  • Using the Worksheets Object.
  • The Range Object.
  • Using Range Objects.
  • Using Objects in a Procedure.
  • Code Glossary.

Microsoft Excel VBA Programming Techniques

  • The MsgBox Function.
  • Using MsgBox.
  • InputBox Techniques.
  • Using the InputBox Function.
  • Using the InputBox Method.
  • The IF Statement.
  • Using IF for Single Conditions.
  • Using IF for Multiple Conditions.
  • The Select Case Statement.
  • Using the Select Case Statement.
  • For Loops.
  • Looping With Specified Iterations.
  • The Do Loop Statement.
  • Looping With Unknown Iterations.
  • Code Glossary.

Creating Microsoft Excel VBA Custom Forms

  • Understanding VBA Forms.
  • Creating a Custom Form.
  • Adding Text Boxes to a Form.
  • Changing Text Box Control Properties.
  • Adding Label Controls to a Form.
  • Adding a Combo Box Control.
  • Adding Option Buttons.
  • Adding Command Buttons.
  • Running a Custom Form.

Programming User Forms in Microsoft Excel VBA

  • Handling Form Events.
  • Initialising a Form.
  • Closing a Form.
  • Transferring Data From a Form.
  • Running Form Procedures.
  • Creating Error Checking Procedures.
  • Running a Form From a Procedure.
  • Running a Form From the Toolbar.
  • Code Glossary.

Automatic Startup in Microsoft Excel VBA

  • Programming Automatic Procedures.
  • Running Automatic Procedures.
  • Automatically Starting a Workbook.

Microsoft Excel VBA Error Handling

  • Understanding Error Types.
  • The on Error Statement.
  • Simple Error Trapping.
  • Using the Resume Statement.
  • Using Decision Structures in Error Handlers.
  • Working With Err Object.
  • Error Handling in Forms.
  • Coding Error Handling in Forms.
  • Defining Custom Errors.
  • Code Glossary.

Intended Audience

Providing comprehensive and thorough coverage of using VBA within Microsoft Excel, this Excel VBA course is ideal for new or existing users seeking to learn Excel VBA tasks outlined in the course content.

Delivery Style

This Microsoft Excel VBA course is presented as a practical, instructor-led computer-based course in a Microsoft Windows environment. You’ll have dedicated access to a computer exclusively for your use so you can follow instructor training and work through examples.

Course Prerequisites

This Microsoft Excel VBA course assumes the learner has a good knowledge of working with Excel. The learner should be able to create and edit workbooks, enter formulas, copy, paste, and format data. You should be familiar with the basic functions of a computer operating system. This includes navigating the environment using a mouse and keyboard, starting applications, copying and pasting objects, formatting text, creating folders, opening and saving files, familiarity with the accessing the Internet and use of common web browsers. If you do not have these skills, we recommend attending the Basic Computer Skills Course before attempting this course.


Need an invoice before your organisation can pay?

Request an invoice and enrolment for employees of your organisation.


Training for groups of employees

Learn more about enterprise training for organisations.

Employer Sponsorship

Employer sponsorship

Your employer may be willing to pay for your course. Find out more.

Course Features

Available classes for Microsoft Excel VBA Course (Visual Basic)

This course has no dates available. Be the first to know when we schedule more. Join the waiting list.

The University of Newcastle, Sydney Campus is a leading provider of short courses in Australia, with industry qualified and experienced educators that bring up-to-date real-world skills directly to the classroom.