Excel 2003, VBA
This class is designed to help students describe the concepts in and uses of Visual Basic
for Applications, record and edit procedures, debug visual basic code, assign procedures to menus,
objects, and keyboard shortcuts, use function procedures, and objects properties, and methods. In
addition, students will learn to use interactive procedures, control procedures, automate procedures,
customize menus and command bars, and create user forms.
Audience
Students looking to gain the skills necessary to apply VBA to develop macros, format
worksheets, create user-interactive macros, work with multiple worksheets, and perform calculations. In
addition, students who already have knowledge of the basics of Excel, including how to create, edit,
format, and print worksheets that include charts and sorted and filtered data
Getting Started
- Introducing Visual Basic for Applications
- Recording a Macro
- Running a Macro
- Editing a Macro in the Visual Basic Editor
- Understanding the Development Environment
- Using Visual Basic Help
- Closing the Visual Basic Editor
Working with Procedures and Functions
- Understanding Modules
- Creating a Standard Module
- Understanding Procedures
- Creating a Sub Procedure
- Calling Procedures
- Using the Immediate Window to Call Procedures
- Creating a Function Procedure
- Naming Procedures
- Working with the Code Editor
Understanding Objects
- Understanding Objects
- Navigating the Excel Object Hierarchy
- Understanding Collections
- Using the Object Browser
- Working with Properties
- Using the With Statement
- Working with Methods
- Creating an Event Procedure
Using Expressions, Variables, and Intrinsic Functions
- Understanding Expressions and Statements
- Declaring Variables
- Understanding Data Types
- Working with Variable Scope
- Using Intrinsic Functions
- Understanding Constants
- Using Intrinsic Constants
- Using Message Boxes
- Using Input Boxes
- Declaring and Using Object Variables
Controlling Program Execution
- Understanding Control-of-Flow Structures
- Working with Boolean Expressions
- Using the If...End If Decision Structures
- Using the Select Case...End Select Structure
- Using the Do...Loop Structure
- Using the For...To...Next Structure
- Using the For Each...Next Structure
- Guidelines for use of Control-of-Flow Structures
Working with Forms and Controls
- Understanding UserForms
- Using the Toolbox
- Working with UserForm Properties, Events, and Methods
- Understanding Controls
- Setting Control Properties in the Properties Window
- Working with Controls
- Setting the Tab Order
- Populating a Control
- Adding Code to Controls
- Launching a Form in Code
Working with the PivotTable Object
- Understanding PivotTables
- Creating a PivotTable
- Working with the PivotTableWizard Method
- Working with PivotFields
- Assigning a Procedure to a Custom Toolbar
Debugging Code
- Understanding Errors
- Using Debugging Tools
- Setting Breakpoints
- Stepping through Code
- Using Break Mode during Run mode
- Determining the Value of Expressions
Handling Errors
- Understanding Error Handling
- Understanding VBA's Error Trapping Options
- Trapping Errors with the On Error Statement
- Understanding the Err Object
- Writing an Error-Handling Routine
- Working with Inline Error Handling
In order for a class to be successful, all students should share the same general level
of knowledge and experience. If a participant does not demonstrate these, the instructor will take
the necessary steps either to prepare the participant or place him/her in a more appropriate course.
This policy is intended to maintain the high level of quality control that you have come to expect.
<< Back to Schedule
Microsoft Certified Partner Learning Solution