What is Visual Basic for Applications (VBA), VBA Project Overview

Call us at:    1.805.498.7162     1.805.558.9277--

Learn about how we can help your company or yourself achieve your Microsoft Excel training or self-study goals Visit our free Microsoft Excel and Microsoft Excel VBA resource center Learn how we can help save your company money with our innovative software solutions Visit out VBA code center for code that can save your company money Learn about our Excel Add-In software that can save your company time and money View our customer list from our 12 years in business Phone numbers, request form and email address Learn about EMAGENIT View our training schedule for Microsoft Excel and Microsoft Excel VBA

What is Visual Basic for Applications?

  • Visual Basic for Applications or VBA is a computer programming language which is used to control Microsoft Excel's functionality

  • VBA can also be used to control Microsoft Word, PowerPoint or other programs

  • All major Microsoft Office products come standard with VBA

  • VBA controls Microsoft Excel by means of macros which are also called procedures

  • In order to command Microsoft Excel effectively using Visual Basic for Applications (VBA), Microsoft Excel’s operational capabilities must be well understood along with its program elements

Where are Excel Macros Stored and Run?

  • VBA code is typed in the VBA Editor in what are called modules (pictured to the right).

  • A module resembles a Word document in both organization and typing

  • You type commands in these modules then run them to control Microsoft Excel. Can you read the commands in the picture and figure out what Excel element is being commanded?

  • The VBA modules themselves are organized in what is called a VBA project

  • A VBA project is defined as a collection of modules and other programming elements

  • When a new workbook file is created in Microsoft Excel, a new VBA project is automatically created and associated with that workbook

  • A workbook can contain only 1 VBA project

  • You add VBA modules, code and other elements to a VBA project when you need them

  • You run your macros from the workbook they were created in. You need workbook open in Excel to run its code

How is VBA used in Microsoft Excel

VBA allows a user to:

  • Automate report generation in Microsoft Excel

  • Automate chart creation in Microsoft Excel

  • Perform data processing in Microsoft Excel

  • Automate communication between Microsoft Excel and databases

  • Build professional grade wizards (i.e. floating dialog boxes) rapidly

  • Integrate legacy code written in C, Perl, Apple Script, FORTRAN and VB with Excel

  • Perform analysis tasks in Microsoft Excel (modeling, optimization...)

The Excel program pictured below is a simple example built in our Advanced Excel VBA for Business workshop and demonstrates how to build a multi- chart / multi-worksheet data processing program in Excel. It takes two master worksheets and develops n worksheets from those sheets evaluating statistical information and then charting the results automatically. A very common and time consuming task facing the business world today. The program pictured reduced an all day task to 20 sec.

The Excel Configuration tool pictured below evaluates a trade study of Total Gross Weight of an aircraft versus payload. It automatically charts its results and is capable of rapidly evaluating different aircraft configurations. Rapid design and analysis tools for engineering can be easily constructed in Excel. This program can be seen in our Advanced Excel VBA for Engineers and Scientist workshop.

 

How We Can Help With Your Training?

Self-Study Training

Public Workshops

On-Site Training

Webcast Training

Our self-study manuals contain extensive Microsoft Excel and Microsoft Excel VBA knowledge based on our consulting and software design experiences. They contain not only how-to information, but also practical application discussions. In our manuals, you get everything we use when we develop for clients. EMAGENIT has developed software for such company's as Northrop Grumman, NASA JPL, Caterpillar and the US Navy. Best of all, you can deduct the cost of the manual if you take one of our public workshops or attend via webcast. View Manuals and Prices...  

In our Microsoft Excel and Microsoft Excel VBA public workshops, you will learn "hands-on" from an experienced Excel developer. Our Microsoft Excel developers have real world experience designing worksheets and software for companies and organizations like Verizon, Caterpillar, The US Navy and NASA JPL. We limit our public workshops to 10 people or less so we can concentrate on your problems. Our workshops are never "canned" and we adjust the curriculum of each class based on the particular needs of the attendees. Best of all, you can repeat the workshop as many times as you want free. Schedule and Workshop Information...

Our onsite workshops feature “hands-on” training custom designed to your company’s needs. EMAGENIT provides this customization of Excel or Excel VBA curriculum at no extra cost. EMAGENIT has an extensive training and development background that is integrated into every class. With over 12 years of experience and knowledge, we can help solve your Excel problems. Our onsite training is also less expensive than your staff taking our public workshops. More Information... Using our live webcast technology, EMAGENIT can train you or your company from anyplace in the world. We can simulcast our public workshops or train your company exclusively through our live webcast. EMAGENIT's webcast is fast becoming a valuable tool for many company's as they try to keep costs down and productivity up. Our webcast gives you a live, voice interactive and "hands-on" workshop tailored to your needs.  Schedule and Workshop Information...

 

 





Additional Pages

Microsoft Excel Classes  Microsoft Excel VBA Courses  Microsoft Excel Training  Microsoft Excel Macros  Microsoft Excel VBA Consulting  Microsoft Excel Add-Ins

Copyright © 2002-2010 EMAGENIT All Rights Reserved