Starting Word with a directory

  • Thread starter Thread starter Gilbert De Ceulaer
  • Start date Start date
G

Gilbert De Ceulaer

How can I make a shortcut to start Word to start with files in a certain
directory, and another shortcut to start Word in an other directory ?
 
You can change the 'home' folder by using Tools, Options, File Locations and
edit the folder for Documents.

But you can also add (and remove) the shortcut icons on the Look in (that's
the bar down the left side of the File Open and SaveAs dialogs usually
called the My Places Bar). To add to this, use File, Open and navigate to
the Folder that you want and just select it (don't open it): then go to the
Tools Menu and select Add to My Places. The icon will be added to the My
Place bar. You can right-click on the My Place Bar and move the order of the
icons and select Small Icons making room for many more locations to be
added.

--
Terry Farrell - Word MVP
http://word.mvps.org/

: How can I make a shortcut to start Word to start with files in a certain
: directory, and another shortcut to start Word in an other directory ?
:
:
:
 
Thanks Terry, but isn't it possible to have one shortcut-icon on my desktop
that opens Word with File-locations-Documents = say c:\abc\cde, and another
shortcut-icon that opens Word with File-locations-Documents = c:\abc\fgh ?
 
You could certainly open Word so that it opens with the File, Open dialog
displayed: you could also open Word directly to any given file, or a file
that is in the MRU file cache, but I don't think you could do what you want.

Terry

: Thanks Terry, but isn't it possible to have one shortcut-icon on my
desktop
: that opens Word with File-locations-Documents = say c:\abc\cde, and
another
: shortcut-icon that opens Word with File-locations-Documents = c:\abc\fgh ?
:
:
: "TF" <terryfarrell%40%6d%73%6e%2ecom> wrote in message
: : > You can change the 'home' folder by using Tools, Options, File Locations
: > and
: > edit the folder for Documents.
: >
: > But you can also add (and remove) the shortcut icons on the Look in
: > (that's
: > the bar down the left side of the File Open and SaveAs dialogs usually
: > called the My Places Bar). To add to this, use File, Open and navigate
to
: > the Folder that you want and just select it (don't open it): then go to
: > the
: > Tools Menu and select Add to My Places. The icon will be added to the My
: > Place bar. You can right-click on the My Place Bar and move the order of
: > the
: > icons and select Small Icons making room for many more locations to be
: > added.
: >
: > --
: > Terry Farrell - Word MVP
: > http://word.mvps.org/
: >
: > : > : How can I make a shortcut to start Word to start with files in a
certain
: > : directory, and another shortcut to start Word in an other directory ?
: > :
: > :
: > :
: >
: >
:
:
 
If you save the following macros (changed to reflect the required paths) in
normal.dot you could create shortcuts to start Word and run one or other of
them which would do what you want, but what are you going to do if Word is
already open?

Sub OpenPath1()
Options.DefaultFilePath(Path:=wdDocumentsPath) = "D:\My Documents\Test\"
End Sub
Sub OpenPath2()
Options.DefaultFilePath(Path:=wdDocumentsPath) = "D:\My Documents\"
End Sub

You could add the macros to buttons on a custom toolbar, but that doesn't
get you any farther than the method provided by Microsoft and suggested by
Terry.

It would be simpler to add the path to the Windows title bar, so you know
where you are working, and for that you need another macro

Sub AutoOpen()
ActiveWindow.Caption = ActiveDocument.FullName
End Sub

See http://www.gmayor.com/installing_macro.htm


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top