Automation using Excel Visual Basic for Applications


Course introduction

Most people express a modicum of a surprise when told that Excel, like Access, can be enhanced with Visual Basic. But it should be no surprise at all since both programs share a similar structure. Increasingly, VB is being used to enhance Excel’s basic functionality and create (almost) intelligent spreadsheets and financial models.
This course aims to introduce VBA in as non-threatening a manner as possible. Beginning with wizards and macros, participants are led through the methods and syntax of simple programming in VB, culminating in writing custom code, customizing Excel elements and debugging.

Course Benefits

Upon completion of this workshop, participants will be able to;

  • This course aims to introduce Visual Basic Application (VBA) in as non-threatening a manner as possible
  • Beginning with wizards and macros, participants are led through the methods and syntax of simple programming in Visual Basic (VB), culminating in writing custom code, customising Excel elements and debugging

Target Audience

Anyone who wishes to harness the power that Excel can demonstrate when combined with programming in Visual Basic.

Course Outline

Module 1: Recording Macros

  • Macro Recorder Overview
  • Recording Formatting Macros
  • Recording Calculation Macros
  • Testing Macros
  • Relative Recording
  • Assigning Macros to Toolbars
  • Viewing Macro Code
  • Modifying Recorded Macro
Module 2: Introduction to VBA
  • Overview of VBA
  • Modifying Existing Code
  • Setting General Options
  • Modifying Existing Code
  • Creating Reference to Object
  • Setting Object Properties
  • Using With…End With Structure
  • Commenting Statements
Module 3: Variables, Data Types & Constants
  • Variable Naming Rules
  • Declaring Variables
  • Defining Data Type
  • Scoping Variables
  • Working with Constants
Module 4: Using Excel Objects
  • Excel Object Model
  • Using Workbook Objects
  • Using Worksheet Objects
  • Using Range Objects
  • Objects in Procedures
Module 5: Programming Techniques
  • Communicating with the User
  • Prompting for User Input
  • Creating Conditional Statements
  • Testing for Multiple Conditions
  • Looping/Repeating Statements
Module 6: User-Defined Functions
  • Creating Custom Functions
  • Passing Arguments
  • Creating Add-Ins
Module 7: Creating Custom Forms
  • UserForm Overview
  • Creating Custom Form
  • Modifying Form Properties
  • Adding Controls to Form
  • Control Properties
  • Running a Form

Available Course Sessions

Please click here to stay updated on upcoming sessions.

Trainer Profile

Microsoft Certified Trainer

All of our Associate Trainers offer our high level of service therefore are subject to regular peer assessments and interview prior to joining our Institute. They must all be qualified and have relevant experience to an agreed level and are subjected to continual audit and evaluation. Strict internal assessment is implemented as an integral part of our quality control mechanism.