VBA Digital certificate causes file corruption

inFinSys

New Member
Joined
Mar 24, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have been given a digital certificate that is valid throughout my company so that users do not have to click Enable macros every time. However there seems to be two major issues:
- Often when I add the certificate (Tools / Digital Certificate) and then safe I get an error that the file has corrupted. Normally I get this on the save but sometimes I also get it on reopening the file. Removing the certificate and saving fixes the corruption. The certificate also seems to add some sheets to Excel that are not accessible.
- Further for files that have been successfully certified I often note that on changing the macro that the macro reverts back to the state of the original certification and does not include the latest changes.

I have extensively Googled but have not found any reference to this. Any advice as I still would like to distribute these files with the certificate.

regards,
Nils
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top