We have an obnoxious program on our intranet called PCDOCS. This "Big Brother" type program virtually insists that you open and close all files through its filing system. But it does not block a direct VBA command to open a file such as
WordBasic.fileopen "c:\f\wrd\adm\filename.doc" .
So my quest is to find a convenient way to pick a file, capture its name and path in a variable, then open the file, all in code, so I can store and recall files locally. As a novice, I know just enough to get a display of my files using something like
Dialogs(wdDialogFileFind).Show
but PCDOCS has clobbered the normal function of the dialog box so that a selected file won't open. Again, I need to capture the filename and path in a variable so I can use the fileopen command. Any suggestions?
WordBasic.fileopen "c:\f\wrd\adm\filename.doc" .
So my quest is to find a convenient way to pick a file, capture its name and path in a variable, then open the file, all in code, so I can store and recall files locally. As a novice, I know just enough to get a display of my files using something like
Dialogs(wdDialogFileFind).Show
but PCDOCS has clobbered the normal function of the dialog box so that a selected file won't open. Again, I need to capture the filename and path in a variable so I can use the fileopen command. Any suggestions?