Introduction
This course will help to write macros in Excel using programming language Visual Basic Application (VBA). Recorded macro can edited to customize it to fulfill our requirement and one can directly go for coding to accomplish the required tasks. One can write his own functions and procedures, design forms and working with add-ins.
Target Audience
Program is scheduled for Advanced Microsoft Excel users. VBA is a programming language, requires aptitude for programming.
Program Objectives
After completion of this program, the participants will be able to the following
- Write macros to automate routine work
- Create functions and procedures
- Design and use forms for data entry
- Create add-ins to deploy at client machines
- Create simple reports
Course Contents Macros VBA
1. Understanding Concept of Macros
- What is Macros
- How Macros help us to increase the Productivity
2. Functions
- What is Function and Sub routine
- Writing Functions using VBA Editor
- Calling function in other workbook
3. Recording Macros
- Recording and running macro
- Storing macro in different books
- Creating buttons and assigning macro to it
- Creating Custom tab
- Form Control & Active x Control Check box , Option Button (Radio bottom)
4. The Visual Basic Editor
- Editing macros using VBA Editor
- Understanding the project explorer
- Exploring windows properties
- Modifying code in code window Debugging code
5. Programming Fundamentals
- Variables, data types and constants
- Arrays
- Object Variables
- Conditional structures (If …. Then, Select Case)
- Logical Operators
- Looping constructs (For loops, Do loops, while… Wend)
- Built-in functions
- Creating Subroutines
6. Excel Object Model
- Working with objects – properties, events and methods
- Application objects
- Workbook objects, Worksheet objects and Range objects
- Charts objects
- Pivot table objects
7. User Forms
- Creating forms
- Form events
- Creating custom menus and toolbars
- Creating Add-ins