Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

Reply
 
LinkBack Thread Tools Display Modes
  #1  
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
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable "Save" & "Save As" & "Print" ribbon Villalobos Word VBA 3 07-14-2014 11:37 PM
Blocking the "Save" button rachelg Word 2 08-30-2012 12:15 PM
Add a "SAVE" Button to a form template? Dave L Word 9 03-21-2012 07:04 PM
How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM


All times are GMT -7. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft