austin397
New Member
- Joined
- Dec 16, 2016
- Messages
- 36
I have created an excel that is to be used as a template for my co-workers. I created a digital signature that is installed on all of the other computers that will be using the excel. I used a signature because I don't want to have every set their macro security to always allow the macros to run. That way if they were to download an excel file that contains harmful code it will not just automatically run.
The problem as I have discovered is that one of the macro's deletes a sheet and causes the error message when the user attempts to save the document, "You have modified a signed project. You do not have the right key to sign this project. The signature will be discarded." [FONT=Arial, Helvetica, sans-serif]Button: "Save changes and discard signature" Button: "Cancel Save".[/FONT]
[FONT=Arial, Helvetica, sans-serif]The sheet that is being deleted does not contain code on it. However, one of the macro codes check to see if this sheet exists. Could that be causing the error?[/FONT]
[FONT=Arial, Helvetica, sans-serif]After the user saves and the file is no longer a template, it doesn't need the signature anymore since it doesn't contain code that will run when the file is not "Read Only".
Is there a way to either remove my digital signature using VBA or a VBA to auto-select the button "Save changes and discard signature"?
If more detail is needed let me know!
Thank you in advance![/FONT]
The problem as I have discovered is that one of the macro's deletes a sheet and causes the error message when the user attempts to save the document, "You have modified a signed project. You do not have the right key to sign this project. The signature will be discarded." [FONT=Arial, Helvetica, sans-serif]Button: "Save changes and discard signature" Button: "Cancel Save".[/FONT]
[FONT=Arial, Helvetica, sans-serif]The sheet that is being deleted does not contain code on it. However, one of the macro codes check to see if this sheet exists. Could that be causing the error?[/FONT]
[FONT=Arial, Helvetica, sans-serif]After the user saves and the file is no longer a template, it doesn't need the signature anymore since it doesn't contain code that will run when the file is not "Read Only".
Is there a way to either remove my digital signature using VBA or a VBA to auto-select the button "Save changes and discard signature"?
If more detail is needed let me know!
Thank you in advance![/FONT]