A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi @Mutendere Mbewe,
Thank you for posting your question to the Microsoft Q&A forum, and I'm sorry you are running into this. I know how concerning it is after you have already tried enabling macros, trusted locations, and removing protection.
A VBA compile error can come from a few different places, such as add in or VBA version compatibility, missing references, or differences between 32 bit and 64 bit Excel, so the next step is to pinpoint the exact failure.
Could you please share:
- The full compile error message text (or a screenshot) and the module name if it mentions one.
- The Excel file that contains the VBA script (or export the VBA modules and send them if the workbook data is sensitive).
This will help us better understand the context and provide more targeted support. Any additional information will help us better understand and support you.
If the above information contains any of your Personally Identifiable Information (PII), please send them in the private message session that I have initiated. Please follow these steps:
- In your thread, you will see a banner regarding to ongoing private message.
- Click View messages.
Thank you for your patience and cooperation. I'm looking forward to your reply.