totn Excel 2011 VBA Environment

MS Excel 2011 for Mac: Code Window in VBA Environment

This Excel tutorial explains the Code window in the VBA environment in Excel 2011 for Mac (with screenshots and step-by-step instructions).

Code Window

The Visual Basic editor displays your VBA environment in Excel 2011:

Microsoft Excel

Next, let's analyze the Code window in the VBA environment. The Code window displays the VBA code for the object currently highlighted in the Project Explorer.

Microsoft Excel

In the example above, it is displaying the VBA code for the module called Module1.

If the Code window is not visible when you open the Visual Basic editor, you can make it visible by selecting Code under the View menu.

Microsoft Excel