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 / August 2003

Tip: Looking for answers? Try searching our database.

Automatically save a copy of active document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jürgen - 29 Aug 2003 16:06 GMT
Hi Folks,

I would like zu make word 2000 automatically save a copy
of the active document in a special network backup folder.
As far as I know, the feature offered by Word will save
the backup copy in the same folder as the active document.
I would like to customize that target folder.

Thanks in advance.

Juergen
Doug Robbins - Word MVP - 30 Aug 2003 00:58 GMT
Hi J?rgen,

Create a macro with the name FileSave (which will then run in place of
Word's File>Save command) and in it use the following:

Dim fname As String, flname As String
ActiveDocument.Save
fname = ActiveDocument.Name
flname = ActiveDocument.FullName
ActiveDocument.Close
FileCopy flname, [new path] \ " & fname"
Documents.Open flname

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
> Hi Folks,
>
[quoted text clipped - 7 lines]
>
> Juergen
 
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.