Changing active document path 
Author Message
 Changing active document path

How do I change the active document path?

--
Familien Hougaard




Sun, 28 Sep 2003 00:12:56 GMT  
 Changing active document path
Hi Henrik,

By saving it to the new path.

ActiveDocument.SaveAs Filename:="NewPath" & ActiveDocument.Name

Please post any follow-up or new questions to the Newsgroups so that others
may benefit therefrom or contribute thereto.

Hope this helps,
Doug Robbins - Word MVP

Quote:
> How do I change the active document path?

> --
> Familien Hougaard





Sun, 28 Sep 2003 21:05:19 GMT  
 Changing active document path
Hi Henrik,

Quote:
> How do I change the active document path?

Use the .SaveAs method.

You CANNOT simply change the path of an open document; just
as you cannot move any file that is open in any
application. It simply isn't allowed.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)



Sun, 28 Sep 2003 21:17:49 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Parsing an HTML Document - Change Relative paths to fully qualified paths

2. Active Document Path

3. Change My Documents Path With VBScript

4. Stop SaveAs from changing active document

5. Text changed in active document

6. Changing properties of active document

7. Active Document/Property Bag - Prompt to save changes?

8. Macro to insert text or document into active document

9. ? How do you change a path to a dos path name

10. Changing Long Paths to Short Paths in a 16-bit App

11. Document variable with value that changes throughout the document

12. Query Active Directory for User's Home Directory Path

 

 
Powered by phpBB® Forum Software