Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2006

Tip: Looking for answers? Try searching our database.

Macro to Save Filename

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Franko - 06 Sep 2006 19:31 GMT
Creating a macro to modify a document, then save the document with the same
filename in a different directory. While creating the macro, i do a "File,
Save As" and select the location, but cannot get the open file name.
Jezebel - 06 Sep 2006 22:37 GMT
You can't create macros like this using the recorder. You need to write
something like --

ActiveDocument.SaveAs FileName:="C:\...."\ & ActiveDocument.Name

> Creating a macro to modify a document, then save the document with the
> same
> filename in a different directory. While creating the macro, i do a "File,
> Save As" and select the location, but cannot get the open file name.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.