Check if VBA Code is Signed

The following code explains how to check if the VBA code is signed or not using the Workbook.VbaProject.IsSigned property. You can use any of your excel files to test this code. For testing purposes, you can use this excel file used in the code.

Check if VBA Code is Signed in C#

Console Output

Below is the console output of the above code using the sample excel file provided by the link.

Is VBA Code Project Signed: True