This Excel tutorial explains how to open the Visual Basic Editor in Excel 2007 (with screenshots and step-by-step instructions).
See solution in other versions of Excel:
How to open the VBA environment
You can access the VBA environment in Excel 2007 by opening the Microsoft Visual Basic window.
2015-10-20 In response to this feedback, we’ll further improve Office 2016 for Mac’s support for VBA add-ins. Specifically, we’ll be adding Office ribbon customization via Ribbon XML, and making other improvements to Word, Excel, and PowerPoint for Mac to match their Windows desktop versions. Ribbon customization via Ribbon XML. VBA UserForms for Mac and Windows open in different sizes. This article describes a simple procedure that enlarges UserForms on the Mac so they are legible. Peltier Tech Blog. Peltier Tech Excel Charts and Programming Blog. Search this website. This is in reference to your “Designing UserForms for Mac and Windows” Blog.
First, be sure that the Developer tab is visible in the toolbar in 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 in the top left of the Excel window and then click on the Excel Options button.
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.
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 Office For Mac
Now the Microsoft Visual Basic editor should appear and you can view your VBA code.