A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Jesper Dioth,
If you only need to work with one trusted workbook, you may want to check whether the file is opening in a protected or restricted state. On Mac, a quick test is to save a copy of the workbook to a local folder (such as Documents), reopen it from there, and then try accessing the VBA project again. In some cases, opening the file from certain locations can affect how Excel handles macro-enabled workbooks.
You can also confirm that the workbook is saved in a macro-enabled format (.xlsm). If the file was saved in a standard workbook format (.xlsx), the VBA project will not be available.
If the VBA editor still cannot be accessed after confirming the file location and format, please let me know:
- Your Excel version (Microsoft 365, Excel 2024, etc.)
- Whether the workbook is an .xlsm file
- Any error message shown when opening the VBA editor
With that information, the community can suggest more targeted troubleshooting steps.
Let me know if you need further assistance, feel free to ask me by clicking "Add Comment" or "Add Answer" if you cannot add comment so your response will be visible. Thanks for your effort.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.