Course Overview
The overall focus of this course is to teach the user proper Visual Basic programming techniques along with an understanding of Excel’s object structure. Other topics in this course include: proper variable declaration, control structure use, looping, and UserForm creation. The final section deals with the debugging tools included in the Microsoft VBA editor and methods on how to effectively use them.
Course Objectives
Macro Development Basics, VBA Programming Fundamentals, Working with Control Structures, Using VBA Functions, Creating UserForms, Debugging Techniques
- Top-rated instructors: Our crew of subject matter experts have an average instructor rating of 4.8 out of 5 across thousands of reviews.
- Authorized content: We maintain more than 35 Authorized Training Partnerships with the top players in tech, ensuring your course materials contain the most relevant and up-to date information.
- Interactive classroom participation: Our virtual training includes live lectures, demonstrations and virtual labs that allow you to participate in discussions with your instructor and fellow classmates to get real-time feedback.
- Post Class Resources: Review your class content, catch up on any material you may have missed or perfect your new skills with access to resources after your course is complete.
- Private Group Training: Let our world-class instructors deliver exclusive training courses just for your employees. Our private group training is designed to promote your team’s shared growth and skill development.
- Tailored Training Solutions: Our subject matter experts can customize the class to specifically address the unique goals of your team.
Agenda
1 - Introduction
2 - Macro Development Basics
- Displaying the Developer Tab
- Setting Macro Trust within Excel 2010
- Recording and Running a Macro
- Examining the VBA Editor
3 - VBA Programming Fundamentals
- Reviewing the Excel 2010 Object Model
- Understanding Functions and Procedures
- Understanding Variables and Scope
- Commenting Your Code
- Creating Constants
- Understanding Arguments
4 - Working with Control Structures
- Using If-Then-Else
- Understanding Logical Operators
- Creating a Select-Case Statement
- Creating For-Next Loops
- Creating Do Loops
- Creating While-Wend Loops
5 - Using VBA Functions
- Viewing the Object Browser
- Using the InputBox Function
- Understanding the MsgBox Function
- Using String Functions
- Using Date Functions
6 - Creating UserForms
- Designing a Form
- Understanding Different Controls
- Working with Form Properties
7 - Debugging Techniques
- Understand the Difference Between Syntax and Logic Errors
- Using Breakpoints
- Stepping Through Your Macro
- Creating Watches
- Adding Error Traps
8 - Conclusion