digital signature handling after mail merge

T

T Ray Humphrey

I have a Word document (Word XP) with a button hooked to some VBA that
performs a mail merge. The VBA hides the button, performs the merge, closes
itself and leaves the user with the newly merged document. Works great.

The problem occurs when the user goes to save the merged document. Up comes
an error: "You have modified a signed project. You do not have the correct
key. The digital signature will be discarded."

I've seen this message before when someone modifies the VBA on a document
where they don't have the digital signature. When I look in the VBA editor
for the merged document, there is no code. I assumed that the document
created by the mail merge was not copying my VBA code (which is just what I
want).

But it seems as if the digital signature is still there. And why would this
message occur when the document was modified and the code wasn't?

Is there a way to remove the digital signature before the mail merge? I
tried accessing the Me.Signatures collection property of the document, but
it was empty.

Thanks for any assistance,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top