View Single Post
 
Old 08-24-2017, 09:04 AM
Loss1003 Loss1003 is offline Windows Vista Office 2013
Novice
 
Join Date: Apr 2015
Posts: 3
Loss1003 is on a distinguished road
Default Saveas by Bookmark Name

Trying to create a macro to save document to my documents folder using the following bookmark name ("ActName"). however, it saves the file with wording "FORMTEXT" and then the bookmark name

FORMTEXT ABC Account.docm

I would like it to save this way: ABC Account.docm.

Currently using the following code:

Private Sub CommandButton11_Click()
ActiveDocument.SaveAs FileName:=ActiveDocument.Bookmarks("ActName").Rang e.Text

End Sub

Thank you,
Attached Files
File Type: docm FORMTEXT ABC Company.docm (85.7 KB, 11 views)
Reply With Quote