VBA for Microsoft Office Level 1 Course

Course Code: CS 22
Course Abstract: This course teaches users to start thinking in terms of how to make work life easier. This course shows the tools to start automating little tasks right away.
Audience: This course is designed for anyone who will be using VBA with Microsoft Office.
Duration: 2 days
Learning Outcomes:

Upon completion of this course, the participant will be able to:
> Turn complex calculations into functions to use as Excel formulas
> Add shortcut keys and custom toolbars to Word templates in order to simplify multi-step tasks
> Check spelling automatically when closing a Word document
> Debug code when it doesn't work as expected

Course Topics:

Part 1: VBA Foundations for Microsoft Office
Getting Started with VBA
What Is VBA?
What Products Host VBA?
What Does a VBA Application Look Like?
Working with VBA in a Host Product
How Do You Make VBA Code Happen?
Starting With VBA by Recording Macros

Writing VBA Procedures
Overview of the Visual Basic Editor
Working with the Project Explorer
Creating Simple Procedures
Understanding the Code Window
Customizing the Visual Basic Editor

Working with Variables and Constants
What Is a Variable?
Data Types
Using Constants

Visual Basic Editor Techniques
Writing Code Efficiently
Taking Advantage of IntelliSense
Optional and Named Arguments

Mastering VBA Control Structures
Branching Structures
Looping Structures

Investigating Built-In VBA Functions
VBA's Built-In Functions
Using the Object Browser to Find VBA Functions
Testing Functions in the Immediate Window
VBA Functions You'll Probably Need

Creating Reusable Procedures
Design before Code
Writing the Same Code Once

Creating User Forms
Working with User Forms
Adding Controls to a User Form
Formatting Controls
Setting Properties at Design Time
Introducing Events
Setting Properties at Run Time
Working with Methods

Understanding Object Models
Defining the Terms
Using the Object Browser
Working with Object Models in VBA
Object Variables
Special VBA Control Structures for Objects
Working with the Office Object Models

Handling Errors
Recognizing a Run-Time Error
The Error-Handling Standard
Exiting the Error Handler
Inline Error Handling
Combining Types of Error Handling

Debugging Your VBA Code
Debugging Your Code
Setting a Breakpoint
Stepping Through Code
Checking Values at Run Time
Watch Expressions
The Call Stack
The Debugging Process

Understanding Events
Events and Event Procedures
Which Objects Have Events?
User Form Events
Control Events
Product-Specific Events
Is There More?

Putting It All Together
Assembling the Pieces
Building a Solution in Excel
Using the Solution in Word
Where Are You Going From Here?
Appendix Topics
Calling VBA Procedures From the User Interface
Comparison of VBA, Visual Basic, and Microsoft Access Forms
The Reddick VBA Naming Conventions
Resources

Prerequisites: Although programming experience is helpful, it is not necessary, a good working knowledge of Microsoft Excel, Microsoft Word, or Microsoft Access is required.
Note: All fields are required
At the present time we do not offer training for individuals or groups less then 6 individuals. We apologize for any inconvenience.


We Value Your Privacy!

Ready to get started or in need of more information? Contact us today.

Go To Blog Virtual Learning