Microsoft Excel 2007 Visual Basic for Applications
Experienced Excel 2007 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 2007 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 Excel 2007 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
- - Understanding Excel Macros
- - Setting Macro Security
- - Saving a Document As Macro Enabled
- - Recording a Simple Macro
- - Running a Recorded Macro
- - Relative Cell References
- - Running a Macro with Relative References
- - Viewing a Macro
- - Editing a Macro
- - Assigning a Macro to the Toolbar
- - Running a Macro From the Toolbar
- - Assigning a Keyboard Shortcut to a Macro
- - Deleting a Macro
- - Copying a Macro
- - Tips for Developing Macros
|
- 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: Understanding VBA
- - VBA Terminology
- - About Objects
- - 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
|
- Unit 4: 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
- - Setting Breakpoints in the Editor
- - Stepping through a Procedure
|
- Unit 5: Procedures
- - About Procedures
- - Creating a Command Procedure
- - Making Sense of IntelliSense
- - Using the Edit Toolbar
- - Commenting Statements
- - Indenting Code
- - Bookmarking in Procedures
|
- Unit 6: Using Variables
- - Understanding 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 7: User Defined Functions
- - About Functions
- - Creating Simple User-Defined Functions
- - Using User-Defined Functions
- - Using Multiple Arguments
- - Modifying a Function
- - Creating a Function Library
|
- Unit 8: Using Excel Objects
- - Application Methods And Properties
- - Workbook Methods And Properties
- - Viewing Excel And the Editor Together
- - Using Workbook Objects
- - Worksheets Methods And Properties
- - Using Worksheet Objects
- - Range Methods And Properties
- - Using Range Objects
- - 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 Select Case Statement
- - Using the Select Case Statement
- - For Loops
- - Looping with Known or Specified Iterations
- - The Do...Loop Statement
- - Looping with Unknown Iterations
|
- Unit 10: Creating Custom Forms
- - About 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 User Forms
- - Handling Form Events
- - 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
- - Creating Quick Access Toolbar Buttons
|
- Unit 12: Automatic Startup
- - Programming Automatic Procedures
- - Running Automatic Procedures
- - Automatically Starting a Workbook
|
- Unit 13: Error Handling
- - Error Types
- - The on Error Statement
- - Creating a Simple Error Handler
- - Using the Resume Statement
- - Using Decision Structures in Error Handlers
- - Using the Err Object
- - Error Handling in Event Procedures
- - Defining Custom Errors
|
Upcoming Courses
|
Sydney
Level 11, 32 Walker Street
North Sydney
View map
|
- Date:
- 23-24 Feb 12
- 19-20 Mar 12
- 11-12 Apr 12
- 30 Apr - 01 May 12
- 24-25 May 12
- 13-14 Jun 12
|
|
Melbourne
Level 12, 379 Collins Street
Melbourne
View map
|
- Date:
- 16-17 Feb 12
- 08-09 Mar 12
- 26-27 Mar 12
- 16-17 Apr 12
- 10-11 May 12
- 28-29 May 12
- 20-21 Jun 12
|
|
Brisbane
C/- Support Technology, Level 6, 371 Queen Street
Brisbane
View map
|
- Date:
- 01-02 Mar 12
- 02-03 Apr 12
- 08-09 May 12
- 14-15 Jun 12
|
|
Canberra
C/O Atlas Business Services, 21 Barry Drive
Turner
View map
|
- Date:
- 02-03 Apr 12
|
|
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:
- 15-16 Mar 12
- 05-06 Jun 12
|
Duration: 2 Days
Class Size: 10
Level: Advanced
Times: 9.00am to 5.00pm approx