Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
Opening an existing file
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 |
#2
|
|||
|
|||
Word always defaults to the last used folder, except on first starting when
it defaults to the folder configured in tools options file locations documents. For access to other folders use the places bar http://www.gmayor.com/customize_the_word_places_bar.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Jack Sadie wrote: In response to a query I was advised to amend the built-in File Open command as follows:- Sub FileOpen() With Dialogs(wdDialogFileOpen) .Name = "d:\*.*" .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 |
#3
|
|||
|
|||
Thanks for your help Graham. That looks useful.
Jack Sadie "Graham Mayor" wrote in message ... Word always defaults to the last used folder, except on first starting when it defaults to the folder configured in tools options file locations documents. For access to other folders use the places bar http://www.gmayor.com/customize_the_word_places_bar.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Jack Sadie wrote: In response to a query I was advised to amend the built-in File Open command as follows:- Sub FileOpen() With Dialogs(wdDialogFileOpen) .Name = "d:\*.*" .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 |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word crashes while opening .doc file | Microsoft Word Help | |||
Opening a file opens an extra file | New Users | |||
Setup for curser location when opening a file | Microsoft Word Help | |||
"Document 1" remains after opening existing file | Microsoft Word Help | |||
How to creat relative and shorthand file path names? | Microsoft Word Help |