is there a way to get Word to save a file in 2 different places? .

R

Ralph C

Hello,
As a network admin, is there a way to get Word to save a file to a local
hard drive as well as a network drive?
I'm not against using a macro if that's the only way.
Thanks,
RC
 
H

Howard Kaikow

u could use a macro to save documents.
however, you need to tell the macro in advance wherte to save the copy, or
the user would have t obe prompted each time.

But you really may want a COPY, instead of a Save.
If so, then the original should be saved and then COPied to the other
location
Depending on macros used by your system, SAVE-ing the doc in two places may
not be the same as COPY-ing the doc.
 
H

Helmut Weber

Hi Ralph,
theoretically, no, you end up with 2 files,
that are most likely equal according to their content,
but are not identical. Identical files would be
such that where saved e.g. under only differently mapped
locations.

Though, saving a file with a special name,
first here, then there, should not be a problem.

Sub FileSave()
With ActiveDocument
If .FullName = "c:\test\test.doc" Or _
.FullName = "d:\test\test.doc" Then
.SaveAs "d:\test\test.doc"
.SaveAs "c:\test\test.doc"
Else
.Save
End If
End With
End Sub

That ensures, that a user is always working on
"c:\test\test.doc", after saving it for the first time.

If it has to be, I'd set the saved-property to false
via autoopen and call filesave from there. Which may rise
other problems... Do you really want to know about them all?

Greetings from Bavaria, Germany

Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top