Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-24-2017, 09:04 AM
Loss1003 Loss1003 is offline Saveas by Bookmark Name Windows Vista Saveas by Bookmark Name Office 2013
Novice
Saveas by Bookmark Name
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Saveas by Bookmark Name SaveAs problem SixSigmaGuy Word VBA 5 05-03-2016 10:49 AM
Find Bookmark, move to bookmark, execute code, repeat raymm3852 Word VBA 10 04-15-2016 06:21 PM
Saveas by Bookmark Name SaveAs FileFormat ch1325 Excel Programming 8 04-11-2016 04:24 PM
Saveas by Bookmark Name VBS saveas API behaviour is different from Menu saveas Ahmed AbuZekry Word VBA 2 03-23-2015 02:14 AM
Saveas by Bookmark Name saveAs ChDir _ tinfanide Excel Programming 4 11-05-2011 01:40 AM

Other Forums: Access Forums

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


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft