13 replies
by duong beo
It's really a nice idea. However it's a bit tricky to get around this. I suggest you create an auto macro for each of them. The macro is to set option for default open directory (in tools | options as you usually do it manually).
Good luck,
Duong beo
by seadogs
by dmiles
by seadogs
by george
Mary, I use several macro's to do this (and also to put specific files in this directories). It goes like:
ChangeFileOpenDirectory "F:\Data\Documents"
On Error GoTo ForgetIt
Dialogs(wdDialogFileOpen).Show
ForgetIt:
End Sub
Then make a buttonon the toolbar to use this macro. Really quite simple.
If you want the opposite macro (to save a file) please let me know.
George
by seadogs
by kelsaidi
a shortcut example is:
Winword.exe /mChangePath1
where the switch /m tells word to run a macro
In your template Normal.dot create as much macro as the next example, each refer to a folder:
Sub ChangePath1()
ChangeFileOpenDirectory "C:\word office"
end sub
Done
by seadogs
by mr.ie
Although, the answers previously given will work, I wouldn't want to edit my normal.dot file to auto run macros every time I opened Word.
Try this:
1. Create a text file in the windows directory called DOC-PATH.txt and paste this into the file:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options]
"DOC-PATH"="[INSERT YOUR PATH HERE]"
2. Replace the contents where it says "INS your path here" with the full path you want to use.
3. Now save the file as c:\windows\DOC_PATH_1.REG
4. Create a batch file on your desktop with the following contents:
:begin
regedit -s c:\windows\DOC-Path1.REG
start "c:\Program Files\Microsoft Office\Office\winword.exe"
exit
:end
5. Modify the properties of the batch file to display the Word icon if you want, and rename it to corespond with the target directory.
By doing this; you essentially create a wrapper for Word that sets the Document path that Word uses right before you execute the program.
Whenyou become comfortab
by seadogs
by mr.ie
Although, the answers previously given will work, I wouldn't want to edit my normal.dot file to auto run macros every time I opened Word.
Try this:
1. Create a text file in the windows directory called DOC-PATH.txt and paste this into the file:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Options]
"DOC-PATH"="[INSERT YOUR PATH HERE]"
2. Replace the contents where it says "INS your path here" with the full path you want to use.
3. Now save the file as c:\windows\DOC_PATH_1.REG
4. Create a batch file on your desktop with the following contents:
:begin
regedit -s c:\windows\DOC-Path1.REG
start "c:\Program Files\Microsoft Office\Office\winword.exe"
exit
:end
5. Modify the properties of the batch file to display the Word icon if you want, and rename it to corespond with the target directory.
By doing this; you essentially create a wrapper for Word that sets the Document path that Word uses right before you execute the program.
Whenyou become comfortab
by seadogs
by seadogs
This discussion is closed to new replies.
Trending Software posts
Sort by Trending