Changing default settings in Word 2003

S

Sam

When you want to open a new .doc via "File, Open" how do you change the
default setting in "Look in" to a specific folder?
 
J

Jean-Guy Marcil

Sam said:
When you want to open a new .doc via "File, Open" how do you change the
default setting in "Look in" to a specific folder?

Here is one way of doing that:

Dim sOrgPath As String

'Remember the original path
sOrgPath = Options.DefaultFilePath(wdDocumentsPath)
'Set the new path you wish to use
ChangeFileOpenDirectory ("C:\")
With Dialogs(wdDialogFileOpen)
.Show
'Restore original path
ChangeFileOpenDirectory sOrgPath
End With
 
Top