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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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