Introduction to Excel VBA  |
|
Course Overview |
| | Do your spreadsheets have code behind them? Has the person maintaining that code moved on to a new position, and now you have 'inherited' code you do not understand. While your job description may not be 'programmer', you may still have programming duties. Or are you just looking to extend or automate processes that Excel cannot do out of the box? If so, the Excel VBA will provide the basic skills necessary to create, modify, and edit code. Learn how to manipulate workbooks, worksheets, and cells. Create custom functions, sophisticated user forms, and learn how to troubleshoot existing code.
This course is suited for those using Office 2007, Office 2003, Office 2002 or Office 2000. This course will be taught using Office Excel 2003.
|
| Objectives |
| | | |
This Course Includes: |
| | Sixty days of access to Post Class Support for instant help regarding the topics and tasks covered in your class. Post Class Support provides you with 24/7 support from certified experts via chat, phone and multimedia, including live demonstration, collaborative learning and step-by-step instruction. |
Audience |
| | Business workers or IT professionals looking to automate repetitive processes, create custom user interfaces, and troubleshoot recorded macros. Also for those who would like an introduction into basic programming skills.
|
Prerequisites |
| | Proficient knowledge of Microsoft Excel. Knowledge of PivotTables helpful but not required.
|
| Course Number |
| | NHEUEX03PROGVBA
|
| Course Length |
| | 2 Days
|
| Course Price |
| | $1,100.00
|
| Category |
| | 2
|
| Topics |
| | | Lesson 1: 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
Lesson 2: 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
Lesson 3: 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
Lesson 4: 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
Lesson 5: 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
Lesson 6: 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 the Label Control
- Working with the Text Box Control
- Working with the Command Button Control
- Working with the Combo Box Control
- Working with the Frame Control
- Working with Option Button Controls
- Working with Control Appearance
- Setting the Tab Order
- Populating a Control
- Adding Code to Controls
- Launching a Form in Code
Lesson 7: 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
Lesson 8: Debugging Code
- Understanding Errors
- Using Debugging Tools
- Setting Breakpoints
- Stepping through Code
- Using Break Mode during Run mode
- Determining the Value of Expressions
Lesson 9: 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
|