Opening an existing file

  • Thread starter Thread starter Jack Sadie
  • Start date Start date
J

Jack Sadie

In response to a query I was advised to amend the built-in File Open command
as follows:-

Sub FileOpen()
With Dialogs(wdDialogFileOpen)
..Name = "*.*"
..Show
End With
End Sub

This ensures that the "Files of type" box always shows "All Files"

Since upgrading to Word2003 I notice that the "Look in" box in the same
dialog always seems to point to the last directory I used. Whilst this is
sometimes convenient, most of the time I want to open files in the specific
directory which I have created to contain my most used files, with its own
tree substructure.
I therefore need to amend the above procedure so that "Look in" always
defaults to that given directory "DirName".
Being unfamiliar with the Visual Basic codes, can someone kindly advise how
to do this.

Thanks so much, Jack Sadie
 

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

Back
Top