Advanced Excel 2010 VBA - Course Outline

COURSE INFORMATION

Duration: Two Days: 9am - 4:30pm
Price: $800
Book: Enquire or make a course booking

TARGET AUDIENCE & PURPOSE

Excel VBA training is for highly skilled developers who wish to add high-end automation.

OBJECTIVES

By the end of this course participants should be able to:

  • Record macros
  • Create an application using the recorder
  • Create user-defined functions
  • Work with the VBA editor
  • Understand VBA concepts and features
  • Create procedures and sub routines
  • Work with variables
  • Work with Excel objects
  • Use standard programming techniques and concepts
  • Create custom forms
  • Program custom forms
  • Modify the Excel menu system to show your macros
  • Make macros start automatically

PREREQUISITES

This course assumes a sound knowledge of the standard features of Excel covered in the Introduction and Advanced courses.

COURSE CONTENT

Recorded Macros
Recording A Simple Macro, Running A Recorded Macro, Relative Recording, Running A Relative Recording, Viewing The Module, Modifying A Recorded Macro

Recorder WorkShop
Creating A Recorded Application, Examining The Data, Recording A Summation Macro, Recording An Averaging Macro, Recording The Maximum Macro, Recording The Minimum Macro, Recording Divisional Macros, Testing Macros, Creating Objects To Run Macros, Assigning A Macro To An Object

User-Defined Functions

Creating A User Defined Function, Using A User Defined Function, Creating Another Function, Passing Multiple Arguments, Modifying A Function, Creating A Function Library

Using The VBA Editor

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

Understanding VBA

Using The Immediate Window, Working With Object Collections, Setting Property Values, Working With Worksheets, Using The Object Browser, Programming With The Object Browser

Procedures

Creating A Command Procedure, Making Sense Of IntelliSense, Using The Edit Toolbar, Commenting Statements, Indenting Text, Bookmarking In Procedures

Using Variables
Creating And Using Variables, Implicit And Explicit Declarations, The Scope Of Variables, Procedure Level Scoping, Module Level Scoping, Public Scoping Of Variables, Passing Variables By Reference, Passing Variables By Value, Avoiding Variant Data Types, Using Arrays

Using Excel Objects
The Excel Object Model, Splitting The Screen, Using Workbook Objects, Using Worksheet Objects, Using Range Objects, Using Objects In A Procedure

Programming Techniques
Programming Conventions, Communicating With The User, Prompting For User Input, Using The Input Method, Using IF To Make Decisions, Testing For Multiple Conditions, Looping A Fixed Number Of Times, Looping A Specified Number Of Times, Looping An Unknown Number Of Times

Creating Custom Forms
Creating A Custom Form, Changing The Form Properties, Adding Text Boxes To The Form, Moving Controls, Adding Label Controls To The Form, Changing Text Box Control Properties, Changing Label Control Properties, Adding A Combo Box, Adding Option Buttons, Adding Command Buttons, Running A Form

Programming Custom Forms
Initialising The Form, Closing The Form, Updating The List, Creating Error Checking Procedures, Running A Form From A Procedure

Automatic Startup
Programming Automatic Events, Running Automatic Procedures, Automatically Starting The Workbook.

 

Excel VBA

Course Inclusions