Fix Digital Signature Not Appearing in the VBA Editor
Question details
The user is unable to find their digital certificate in the VBA Editor's Digital Signatures dialog when attempting to sign a VBA project.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Attempting to add a digital signature to a VBA project to reduce the macro security permissions required when the file runs on another computer.
- Observed behavior
- The certificate used to sign the Office document is missing from the VBA Editor. Alternative tools like InkPicture fail to provide VBA signing functionality.
Ensure you have administrative privileges on your computer to manage certificates, and verify that the certificate you intend to use is explicitly issued for 'Code Signing' rather than standard document encryption.
Install a Valid Code-Signing Certificate
Document signatures and VBA project signatures are managed separately. You must obtain and properly install a specific code-signing certificate in your Personal store for it to appear in the VBA Editor.
The digital signature shown under standard workbook protection is completely separate from a VBA project signature. VBA editors specifically filter the certificate list to only show valid 'Code Signing' certificates.
Additionally, features like InkPicture are designed for pen input and do not provide any functionality for digitally signing VBA projects.
Check your certificate details to ensure its 'Intended Purposes' includes 'Code Signing'. If it only lists 'Document Protection' or 'Client Authentication', it will not work for VBA macros.
Press Windows Key + R, type 'certmgr.msc', and press Enter to open the Windows Certificate Manager for the current user.
Navigate to the 'Personal' > 'Certificates' folder. Right-click, select 'All Tasks', and click 'Import'. Follow the wizard to import your valid code-signing certificate (.pfx or .p12 file).
Open Excel and press ALT + F11 to launch the VBA Editor. Go to 'Tools' > 'Digital Signature', click 'Choose', and select your newly installed code-signing certificate.

Seamlessly Manage Macro-Enabled Files with WPS Office
If you are struggling with complex VBA signature configurations in Microsoft Excel, consider switching to WPS Office. It offers an incredibly familiar interface, robust macro support, and is completely free to download.
- 1. Download and Install WPS Office: Visit the official WPS website, download the installer, and follow the simple setup instructions.
- 2. Open your Macro-Enabled File: Launch WPS Spreadsheets and open your existing .xlsm or .xls file. WPS will preserve your original formatting and macro codes.
- 3. Enable Macros Safely: When prompted by the security warning at the top of the screen, click 'Enable Macros' to securely run your VBA code.

Frequently Asked Questions
What is the difference between an Office document signature and a VBA signature?
A document signature ensures the workbook's content has not been tampered with and verifies the author's identity. A VBA signature (code signing) specifically verifies the publisher of the macro code, ensuring the executable scripts are safe to run and haven't been altered.
Can I use InkPicture to sign my VBA macros?
No. InkPicture is a feature used for capturing pen and ink input directly within Office documents. It has no capabilities for assigning digital certificates or securing VBA macro projects.
Why does my code-signing certificate still not show up after installation?
The certificate might have been installed in the 'Local Machine' store instead of the 'Current User' store, or the certificate chain might be untrusted. Ensure you import the certificate directly into the Personal Certificates folder under your specific user account.




