MS Excel 2003: Visual Basic for Applications

To download a PDF version of this course overview click here

This Excel 2003 course teaches you how to create VBA applications within Excel. This can greatly expand the use of Excel, giving you even more abilities within this amazing tool.

On the following page you’ll find a detailed breakdown of the topics covered in this course. If you wish to incorporate topics from one of our other Excel courses, contact us and we’ll be able to customise this courseware so that the additional material is included.

Learning outcomes

At the completion of this course participants will be able to:

  • create recorded macros in Excel
  • use the macro recorder to create a variety of macros
  • understand the Excel object model and use the Immediate window
  • work with the main components of the VBA Editor window
  • create command procedures
  • create and use variables
  • create and work with user-defined functions
  • write code to manipulate Excel objects
  • use a range of common programming techniques
  • create a custom form complete with controls and event procedures
  • create code to drive a custom form
  • customise the menu system
  • create procedures that start automatically

The training room and facilities

When training on-site at your premises, we require only that each participant has access to their own computer or laptop, with Microsoft Excel 2003 installed. Internet and networking facilities are not required. A data projector is required, and if your training room or board room is not equipped with one, we’re able to provide one at no extra cost.

Recorded Macros

  • Setting Macro Security Levels
  • Recording A Simple Macro
  • Running A Recorded Macro
  • Relative Cell References
  • Running A Macro With Relative References
  • Viewing A Macro Module
  • Modifying A Recorded Macro
  • Assigning A Macro To A Toolbar Button
  • Running A Macro From A Custom Button
  • Removing A Custom Button From The Toolbar

Recorder Workshop

  • Preparing Data For An Application
  • Recording A Summation Macro
  • Recording Consolidations
  • Recording Divisional Macros
  • Testing Macros
  • Creating Objects To Run Macros
  • Assigning A Macro To An Object

Understanding VBA

  • VBA Terminology
  • Accessing 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

Using The VBA Editor

  • Opening And Closing The Editor
  • Working With The Project Explorer
  • Working With The Properties Window
  • Working With The Work Area
  • Working With A Code Module
  • Running Procedures From The Editor
  • Setting Breakpoints In The Editor
  • Stepping Through A Procedure

Procedures

  • Creating A Command Procedure
  • Making Sense of IntelliSense
  • Using The Edit Toolbar
  • Commenting Statements
  • Indenting Code
  • Bookmarking In Procedures

Using Variables

  • Creating & Using Variables
  • Implicit And Explicit Declarations
  • The Scope Of Variables
  • Procedure Level Scoping
  • Module Level Scoping
  • Passing Variables By Reference
  • Passing Variables By Value
  • Data Types
  • Declaring Data Types
  • Using Arrays

User-Defined Functions

  • User-Defined Functions Theory
  • Creating Simple User-Defined Functions
  • Using User-Defined Functions
  • Using Multiple Arguments
  • Modifying A Function
  • Creating A Function Library

Using Excel Objects

  • Application Methods & Properties
  • Workbook Methods & Properties
  • Viewing Excel & The Editor Together
  • Using Workbook Objects
  • Worksheets Methods & Properties
  • Using Worksheet Objects
  • Range Methods & Properties
  • Using Range Objects
  • Using Objects In A Procedure

Programming Techniques

  • The FOR…NEXT Statement
  • Looping With Known Or Specified Iterations
  • The DO…LOOP Statement
  • Looping With Unknown Iterations

Creating Custom 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 Custom Forms

  • Initialising A Form
  • Closing A Form
  • Transferring Data From A Form
  • Running Form Procedures
  • Creating Error Checking Procedures
  • Running A Form From A Procedure

Custom Menus

  • Creating A New Menu
  • Creating A Cascade Menu
  • Adding Menu Commands
  • Assigning Macros To Menu Commands
  • Removing A Menu

Automatic Startup

  • Programming Automatic Procedures
  • Running Automatic Procedures
  • Automatically Starting A Workbook

Need more information?

Contact us:

1300 730 922
www.exceldimensions.com.au
enquiries@exceldimensions.com.au