Fix Excel and Word VBA Macro Signatures Disappearing After Reopening
Question details
Users experience a recurring issue where digitally signed VBA macros lose their registered signatures when reopening Excel workbooks and Word documents.

- Product
- Microsoft Excel and Word
- Device & OS
- not provided
- Scenario
- Reopening an Excel workbook or Word document that contains a digitally signed VBA macro.
- Observed behavior
- The VBA macro signature disappears or is invalidated in Excel and Word upon reopening, despite working correctly in Microsoft Access.
Ensure you have administrator access to the Microsoft 365 Admin Center and gather your current Windows and Office version details before proceeding.
Submit a Microsoft 365 Support Request
Because this signature disappearance is closely tied to specific Microsoft 365 environments and certificate configurations, an official support ticket is required for resolution.
The issue of VBA digital signatures dropping upon file reopening is a known environment-specific bug that is difficult to reproduce generally. Re-signing the macro may only act as a temporary workaround until Microsoft support patches the environment.
Log in to the Microsoft 365 Admin Center using your administrator credentials.
On the left-hand navigation menu, select 'Support' and then click on 'New service request'.
Fill out the request form detailing the issue. Be sure to include your exact Office version, Windows version, and the details of the digital certificate you are using.
Explain that the signature is applied successfully but vanishes upon closing and reopening the Word or Excel file, while noting that Microsoft Access remains unaffected.

Experience Hassle-Free Document Editing with WPS Office
If complex macro bugs and environment-specific issues in Microsoft Office are disrupting your workflow, consider switching to WPS Office. It offers a lightweight, highly compatible alternative for everyday document and spreadsheet tasks without the steep learning curve.
- 1. Download the Installer: Visit the official WPS website and download the free installer for your operating system.
- 2. Install WPS Office: Run the setup file and follow the on-screen instructions to complete the installation in minutes.
- 3. Open Your Office Files: Launch WPS Office and directly open your existing Word, Excel, and PowerPoint files with full format compatibility.

Frequently Asked Questions
Why do digital signatures disappear from my Excel VBA macros?
This is often caused by environment-specific bugs in Microsoft 365, security updates, or compatibility issues with the digital certificate being used. The system fails to properly retain the signature cache upon reopening.
Can I manually re-sign the VBA macro as a temporary fix?
Yes, you can go into the VBA editor (Alt + F11), navigate to Tools > Digital Signature, and reapply the certificate. However, this is usually temporary and the signature may drop again the next time the file is closed and reopened.
Does this macro signature issue affect Microsoft Access?
Typically, users report that Microsoft Access handles the macro signatures correctly in the same environment where Excel and Word fail to retain them.




