How to Fix Excel for Mac VBA Editor Docking and Window Layout Problems
Question details
Users are experiencing incorrect sizing, positioning, and docking failures of the Project Explorer and Properties windows in the Excel for Mac VBA Editor.

- Product
- Microsoft Excel for Mac
- Device & OS
- macOS Sonoma
- Scenario
- Attempting to write or edit VBA macros when the editor workspace layout becomes corrupted, with panels floating or refusing to dock correctly.
- Observed behavior
- The Project Explorer and Properties panels undock, resize incorrectly, or fail to snap into place within the VBA Editor workspace, making it difficult to navigate the code structure.
Save your active workbooks and completely quit Excel to ensure any background VBA processes are stopped before attempting to reset the layout.
Update Microsoft 365 and Rearrange Panels
Updating Excel applies the latest bug fixes for macOS Sonoma, which often resolves underlying UI conflicts preventing panels from docking.
The VBA Editor's panel behavior on Mac can be finicky. Microsoft frequently releases patches for user interface bugs. After ensuring you are on the latest build, you must manually coax the windows back into their docked positions.
Open Excel, click on 'Help' in the top macOS menu bar, and select 'Check for Updates'. Follow the Microsoft AutoUpdate prompts to install any pending updates.
Completely close Microsoft Excel by pressing Cmd + Q, then relaunch the application and open a workbook with macros.
Open the VBA Editor (Option + F11). Drag the Project Explorer or Properties window by its title bar slowly toward the left edge of the Editor workspace until you see an outline indicating it will snap into place. Release the mouse button.

Perform a Clean Reinstallation of Microsoft 365
If updating does not resolve the VBA editor layout issues, a corrupted installation might be the cause.
Contact Microsoft Support
If the problem persists across updates and reinstallations, escalate the issue to Microsoft Support for specialized assistance.
Switch to WPS Office for a Bug-Free Spreadsheet Experience
If Microsoft Excel for Mac continues to experience VBA editor layout bugs, consider trying WPS Office. It is a free, lightweight, and highly compatible alternative that provides a stable, user-friendly environment for your spreadsheet tasks.
- 1. Download WPS Office: Visit the official WPS Office website and download the installation package designed for macOS.
- 2. Install the Application: Open the downloaded package and follow the simple on-screen instructions to install WPS Office on your Mac.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheets and seamlessly open your existing .xlsx files without losing your formatting or data.

Frequently Asked Questions
Why won't the Properties window dock in the Excel for Mac VBA Editor?
This is a known UI behavior in certain builds of Excel for Mac, particularly on newer macOS versions like Sonoma. Updating to the latest Microsoft 365 release often resolves the underlying conflicts that prevent the snapping mechanics from working.
Is there a button to reset the VBA Editor layout to default on Mac?
Unlike the Windows version of Excel, Excel for Mac does not have a single 'Reset Layout' button in the VBA Editor. You must manually drag the Project Explorer and Properties windows to the edges of the screen until they snap into place.
Will reinstalling Excel delete my macros?
No, reinstalling Microsoft 365 will not delete macros saved within your individual workbook files (.xlsm) or your Personal Macro Workbook. However, backing up your important files before performing a clean reinstall is always highly recommended.
How do I check my current Excel for Mac build version?
Open Microsoft Excel, click on the word 'Excel' in the top Apple menu bar, and select 'About Microsoft Excel'. A dialog box will appear displaying your current version and specific build number.




