|
|
| Back to Excel Homepage | Excel VBA - Reference Guide |
|
Menu Visual Basic editor (VBE)
Other links
|
All macros can be edited and created from the Visual Basic Editor (VBE) application as mentioned earlier.
Standard Toolbar Contains all the basic buttons to this window like save, switching to Excel and hide/show other windows. There are other Toolbars available; Edit, Debug, User Form and Toolbox.
Object Box This displays the name of the selected object chosen from the drop down box.
Procedure Box This displays the name of the procedure or event of the object (i.e. worksheet).
Code Window (Module) This is where you maintain the VBA code. One or more sub and function procedures are stored in this view and users manage macros across one or more modules.
Project Explorer All the code associated with a workbook is stored in the ‘Project’ window. This is automatically saved with the Workbook.
Like a workbook, the ‘Project Explorer’ contains all associated objects, which include worksheets, user forms and modules. Macros are stored in either the sheet object or module object. Consider using the module object to store macros for general use in that workbook rather than a specific macro for a specific sheet. By double clicking on an object or clicking the view code button at the top left corner of the ‘Project’ window, displays the objects code (macros associated).
Properties Window Properties are characteristics of the selected
object.
This above window is task sensitive and therefore changes as you click from one control to another.
Edit ToolbarSelect View, Toolbars and select the Toolbar required.
Edit Toolbar
There other toolbars that you may need to review and can be found via the View menu.
|
Tip: Use F5 function key to run a macro from the VB Editor. |
|
© copyright 2010 TP Development & Consultancy Ltd, All Rights Reserved. All trademarks are copyrighted by their respective owners. Please read our terms of use and privacy policy. |