About this Course
The Visual Basic for Applications programming language is a powerful addition to all Office, and particularly useful in Microsoft Excel.
This class is applicable for either Office 2007 or 2010. The Excel VBA class is intended for students who wish to enhance their knowledge of Excel and utilize the power of macros to automate tasks.
At Course Completion
Upon completion of this course, students will have a basic understanding of VBA and the macros produced by it. They will also leave with a set of working macros that cover basic logic and functionality.
Lesson 1 – The Visual Basic Editor
This Lesson includes an introduction to the Visual Basic for Applications (VBA) programming language, introducing terms and views of the Visual Basic Editor. Includes sections on object oriented programming and creating simple recorded macros in Excel.
Lesson 2 – Programming Basics
This Lesson introduces the concept of variables, scope, and data types. Programming basics such as starting, stopping, and simple branching logic are discussed.
Lesson 3 – Control Structures
This Lesson introduces logical branching in procedures, and loops. Students will learn 3 different types of program loops, and 2 different methods of logical branching.
Lesson 4 – Custom Dialog Boxes
Students will learn how to create a custom dialog box, make it appear or disappear on command, and will create macros to run when buttons are selected on the form. The macro will incorporate looping and logic to place data in specific locations on a worksheet.
Lesson 5 – Debugging and Error Handling
Students will learn how to debug their macros to ensure correct performance. They will also learn how to handle errors that can occur in the execution of their macros so that macros will not end unexpectedly.
Familiarity with Microsoft Excel 2007 or 2010. Students should know how to create and save workbooks, create formulas, use basic functions.