View Single Post
 
Old 02-16-2016, 03:04 PM
jferg jferg is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Feb 2016
Posts: 1
jferg is on a distinguished road
Default How to use a "Save As" button without causing digital signatures to become "Invalid"?

I have a 2013 Word Doc with a "Save As" button and two digital signature fields. When the button is clicked, the digital signature fields become invalid. The digital signature fields are the only two fields on the document. The code I am using for the button is:

Code:
Private Sub CommandButton1_Click()
    ActiveDocument.SaveAs2 FileName:=("F:\MyFolder\" & "\" & Format(Now, "YYYYMMDD hhmmss") & ActiveDocument.Name)
    ActiveDocument.Close SaveChanges:=wdSaveChanges, OriginalFormat:=wdOriginalDocumentFormat
End Sub
Is it possible to use the "Save As" button on the document without making the digital signatures invalid?
Reply With Quote