Microsoft Excel 2003 Visual Basic for Applications
Experienced Excel 2003 users will learn how to create macros, user defined functions, understand the VBA environment and use a range of programming techniques to develop automated solutions in Excel.
Quick Facts
Duration: 2 Days
Class Size: 10
Level: Advanced
Times: 9.00am to 5.00pm approx
Other Microsoft Excel 2003 Courses:
About the Course
During this 2 day course, instructors will teach participants to use the VBA Editor, understand the Excel object model, write code and use a range of common programming techniques. Students will learn to create a variety of macros, customise menus and forms, work with user-defined functions, command procedures and variables, and automate advanced procedures.
Who should do this course?
This course is intended for proficient Microsoft Excel users who wish to learn how to automate standard features and develop programs in VBA.
Prerequisites
This course assumes the student has completed Microsoft Excel 2003 Level 3 course, or have equivalent knowledge. Participants should have extensive experience designing and creating workbooks and have a good working knowledge of formulas, ranges, functions and multiple workbooks.
Course Units
- Unit 1: 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 Recorder Macro
|
- Unit 2: 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
|
- Unit 3: 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
|
- Unit 4: 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 the Code Module
- - Running Procedures from the Editor
- - Setting Breakpoints in the Editor
- - Stepping through a Procedure
|
- Unit 5: Understanding VBA
- - VBA terminology
- - Accessing the Excel Object Model
- - Using the Immediate Window
- - Working with Object Collections
- - Setting Property Values
- - Working with Object Collections
- - Setting Property Values
- - Working with Worksheets
- - Using the Object Browser
- - Programming with the Object Browser
|
- Unit 6: Procedures
- - Creating a Command Procedure
- - Making sense of IntelliSense
- - Using the edit toolbar
- - Commenting Statements
- - Indenting Code
- - Bookmarking in Procedures
|
- Unit 7: Using Variables
- - Creating and 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
|
- Unit 8: Using Excel Objects
- - Applications Methods and Properties
- - Workbook Methods and Properties
- - Viewing Excel and the Editor together
- - Using Workbook Objects
- - Range Methods and Properties
- - Using Range Objects
- - Project - Using Objects in a Procedure
|
- Unit 9: Programming Techniques
- - The MsgBox Function
- - Sending Messages to the User
- - InputBox Techniques
- - Using the InputBox Function
- - Using the InputBox Method
- - The IF statement
- - Using IF for Single Conditions
- - Using IF for Multiple Conditions
- - The FOR NEXT Statement
- - Looping with known or specified Iterations
- - The DO LOOP Statement
- - Looping with Unknown Iterations
|
- Unit 10: 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
|
- Unit 11: Programming Custom Forms
- - Initialising a Form
- - Closing a Form
- - Project - Transferring Data From a Form
- - Running Form Procedures
- - Creating Error Checking Procedures
- - Running a Form from a Procedure
|
- Unit 12: Custom Menus
- - Creating a New Menu
- - Creating a Cascade Menu
- - Adding Menu Commands
- - Assigning Macros to Menu Commands
- - Removing a Menu
|
- Unit 13: Automatic Startup
- - Programming Automatic Procedures
- - Running Automatic Procedures
- - Automatically Starting a Workbook
|
Upcoming Courses
|
Sydney
Level 11, 32 Walker Street
North Sydney
View map
|
- Date:
- 22-23 Mar 12
|
|
Melbourne
Level 12, 379 Collins Street
Melbourne
View map
|
Date: upon demand
|
|
Brisbane
C/- Support Technology, Level 6, 371 Queen Street
Brisbane
View map
|
Date: upon demand
|
|
Canberra
C/O Atlas Business Services, 21 Barry Drive
Turner
View map
|
Date: upon demand
|
|
Adelaide
C/- Mindfull Computer & Seminar, Level 4, 74 Pirie Street
Adelaide
View map
|
Date: upon demand
|
|
Perth
C/- Lansen Consulting Pty Ltd, Level 1, 484 Albany Highway
Victoria Park
View map
|
Date: upon demand
|
Duration: 2 Days
Class Size: 10
Level: Advanced
Times: 9.00am to 5.00pm approx