Office for Mac Issues

How to Find VBA Editor Options and Change Indentation in Excel for Mac

Ayan MasoodAyan Masood Oct 28, 2026 869 views

Question details

The user is trying to locate the VBA Editor Options dialog to adjust the automatic indentation settings for VBA code in Excel for Mac.

How to Find VBA Editor Options and Change Indentation in Excel for Mac
Product
Microsoft Excel for Mac
Device & OS
macOS
Scenario
Writing or editing VBA macros and attempting to customize the code editor's formatting settings.
Observed behavior
The VBA Editor Options dialog found in the Windows version is missing or located elsewhere, and the auto-indent setting cannot be found.
Before you start

Ensure you have the Developer tab enabled in Excel for Mac and that your Visual Basic Editor (VBE) window is currently open and active.

Solution 1Recommended

Access VBA Preferences and Use Manual Indentation

Locate the available VBA settings in Excel for Mac and use manual workarounds for missing features.

Unlike Excel for Windows, Excel for Mac places its Visual Basic Editor settings under the standard macOS application menu. Additionally, the specific 'Auto Indent' setting available in Windows is currently not supported in the Mac version.

1
Open the Visual Basic Editor

Launch Excel for Mac, go to the Developer tab on the ribbon, and click on 'Visual Basic' to open the editor.

2
Access Preferences

With the Visual Basic Editor window active, look at the top macOS menu bar. Click on 'Excel' and select 'Preferences'.

3
Indent Code Manually

Since the auto-indent feature is missing, use the 'Tab' key on your keyboard at the beginning of each line to manually indent your VBA code.

4
Submit Feedback

To request the auto-indent feature, click the Help menu in Excel and select 'Feedback' to send a feature request directly to Microsoft.

Access VBA Preferences and Use Manual Indentation
Feature Limitation: The VBA Editor in Excel for Mac has fewer customization options compared to its Windows counterpart.
Free Microsoft Office alternative

Try WPS Office for a Seamless Spreadsheet Experience

If you are frustrated by platform limitations in Microsoft Excel for Mac, consider switching to WPS Office. It offers a lightweight, highly compatible, and free alternative for your daily spreadsheet and document needs.

Fully compatible with Microsoft Excel (.xlsx, .xls, .csv) formats.Lightweight and fast performance on macOS.Familiar user interface with a gentle learning curve.Advanced data analysis and formatting tools built-in.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my VBA code not auto-indent in Excel for Mac?

Excel for Mac's Visual Basic Editor currently lacks the auto-indent feature found in the Windows version. You must manually indent your code using the Tab key.

Where is the Tools > Options menu in the Mac VBA Editor?

On macOS, application settings are standardized. Instead of Tools > Options, you need to click 'Excel' in the top Apple menu bar and select 'Preferences' while the VBA Editor is open.

Can I use Windows VBA macros on Excel for Mac?

Most standard VBA macros work on Excel for Mac. However, macros that rely on Windows-specific ActiveX controls, DLLs, or specific file paths will require modification to run correctly on macOS.