A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Have you taken a look at Excel> Preferences >Security – Macro Security?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Every time I open the file — on Excel for Mac — the repair engine triggers and strips Marcos and VBA from the file. There is no way to bypass the repair.
<recoveryLog xmlns__="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>Repair Result to Lux Accounts Ver 41.xml</logFileName><summary>Errors were detected in file ’/Users/home/Documents/xxx/Accounts System 2022/Area to see copy/xxxxxxxxxxVer 4.xlsm’</summary><removedParts__ summary__="Following is a list of removed parts:"><removedPart>Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))</removedPart></removedParts></recoveryLog>__
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Have you taken a look at Excel> Preferences >Security – Macro Security?
Hi @Luxsparks
Based on the repair log, Excel for Mac is detecting an issue with the workbook's VBA project and is automatically removing the vbaProject.bin component during file recovery:
To help narrow down the cause, could you confirm a few details:
In the VBA project, does it contain special or non-ASCII characters (for example: ä, ö, ü, é, ñ, special characters, etc.) in module names, UserForm names, class names, or the VBA project name itself?
If possible, please also test the workbook in Excel for Windows. If Windows Excel opens the file without removing the VBA project, that would help determine whether this is a Mac-specific compatibility issue rather than corruption of the VBA project itself. Also, please provide your Excel version.
I look forward for your response.