How to programmatically remove digital signature from VBA macros in Excel?

Is there a way to programmatically remove a digital signature from VBA macros in an Excel worksheet?

i.e. the code equivalent to entering the VBA editor by going to the Tools menu → Digital Signature and clicking Delete.

+2
source share
1 answer

Interest Ask. It is not consciously part of the Excel object model for security reasons.

. Win32 api ( VB6 VBA, , ... , , , , . ( - ).

, certmgr.msc.

, .
KB , , .

:
1. SDK Windows , dll capicom, + regsvr32 2. certifcate, .
3. , , ( ) . , - , .

+1

Source: https://habr.com/ru/post/1540590/


All Articles