totn Excel 2007 VBA Environment

MS Excel 2007: Open the Visual Basic Editor

This Excel tutorial explains how to open the Visual Basic Editor in Excel 2007 (with screenshots and step-by-step instructions).

How to open the VBA environment

You can access the VBA environment in Excel 2007 by opening the Microsoft Visual Basic window.

First, be sure that the Developer tab is visible in the toolbar in Excel.

Microsoft Excel

The Developer tab is the toolbar that has the buttons to open the VBA editor and create Form/ActiveX Controls like buttons, checkboxes, etc.

To display the Developer tab, click on the Microsoft Office button Microsoft Excel in the top left of the Excel window and then click on the Excel Options button.

Microsoft Excel

When the Excel Options window appears, click on the Popular option on the left. Select the option called "Show Developer tab in the Ribbon". Then click on the OK button.

Microsoft Excel

Select the Developer tab from the toolbar at the top of the screen. Then click on the Visual Basic option in the Code group.

Microsoft Excel

Now the Microsoft Visual Basic editor should appear and you can view your VBA code.

Microsoft Excel