Visual Basic Training Overview|
VBA for Microsoft Office courseware will teach you to start thinking in terms of how you can make your work life simpler. This courseware gets you going in VBA by showing you the tools to start automating little tasks right away.
Visual Basic Training Prerequisites
Familiarity with Microsoft Office.
Visual Basic Training Audience
Programmers who will be developing in VBA6.
Visual Basic Training Course duration
Visual Basic Training Course outline
Getting Started with VBA
Writing VBA Procedures
- 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
Working with Variables and Constants
- Overview of the Visual Basic Editor
- Working with the Project Explorer
- Creating Simple Procedures
- Understanding the Code Window
- Customizing the Visual Basic Editor
Visual Basic Editor Techniques
- What Is a Variable?
- Data Types
- Using Constants
Mastering VBA Control Structures
- Writing Code Efficiently
- Taking Advantage of IntelliSense
- Optional and Named Arguments
Investigating Built-In VBA Functions
- Branching Structures
- Looping Structures
Creating Reusable Procedures
- 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 User Forms
- Design before Code
- Writing the Same Code Once
Understanding Object Models
- Working with User Forms
- Adding Controls to a User Form
- Formatting Controls
- Setting Properties at Design Time
- Additional ActiveX Controls
- Working with Methods
- Working with List Boxes and Combo Boxes
- 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
Debugging Your VBA Code
- Recognizing a Run-Time Error
- The Error-Handling Standard
- Exiting the Error Handler
- Inline Error Handling
- Combining Types of Error Handling
- Debugging Your Code
- Setting a Breakpoint
- Stepping Through Code
- Checking Values at Run Time
- Watch Expressions
- The Call Stack
- The Debugging Process
Putting It All Together
- Events and Event Procedures
- Which Objects Have Events?
- User Form Events
- Control Events
- Product-Specific Events
- Is There More?
Appendix A: Calling VBA Procedures From the User Interface
- Assembling the Pieces
- Building a Solution in Excel
- Using the Solution in Word
- Where Are You Going From Here?
Appendix B: Comparison of VBA, Visual Basic, and Microsoft Access Forms
Appendix C: The Reddick VBA Naming Conventions
Appendix D: Creating Reusable Procedures
Appendix E: Techniques with List Boxes and Combo Boxes