I should like to be able to set the Word file open dialog
to show all files with either the .doc or .rtf extension.

I have the following at present

With Dialogs(wdDialogFileOpen)
.Display
.Name = "*.doc; *.rtf"
End With

But that only offers RTF files. Is it possible to get Word
to show both? If so how?

Thanks

Re: Show multiple file types to open? by Perry

Perry
Thu Jul 10 17:01:08 CDT 2003

You're looking for a filefilter functionallity here.

Unlike Excel in which you can set the FileFilter property
of GetOpenFileName(), in Word you can't.

You'll have to use the Windows Fileopen common dialog

http://officerone.tripod.com/vba/display_file_open_common_dialog.html

Krgrds,
Perry

"Alan" <ACD_WebbXXNoSpamXX@hotmail.com> wrote in message
news:0cd001c3453b$57b5b8e0$a301280a@phx.gbl...
> I should like to be able to set the Word file open dialog
> to show all files with either the .doc or .rtf extension.
>
> I have the following at present
>
> With Dialogs(wdDialogFileOpen)
> .Display
> .Name = "*.doc; *.rtf"
> End With
>
> But that only offers RTF files. Is it possible to get Word
> to show both? If so how?
>
> Thanks