Trying to clear Word's native SaveAs filters for a FileDialogSaveAsspawned via Word

J

Joey

Hello,

I am trying to programatically create a FileDialog of type
FileDialogSaveAs with just MSG, HTML, RTF and TXT as its filters. I am
spawning a dialog box via Word; however, I am having difficulty clearing
the filters for Word's dialog box so that I can fill them in with the
MSG, HTML, RTF and TXT file types so I can do a .SaveAs with Outlook's
format of olMSG, olHTML, olRTF, and olTXT. I cannot get the SaveAs
FileDialog to clear its filters native to word with a .Filters.Clear
command and then add the new outlook filters to the collection. How do
I accomplish this?

Sincerely,
Joey.
 
K

Ken Slovak - [MVP - Outlook]

You might get a better answer in a Word programming group, but there is no
Filters property listed anywhere in the Word object model. You can use
DefaultSaveFormat to set a default but that doesn't change the list of save
formats. You might end up having to create your own dialog box from scratch
or using the Windows FileSave common dialog.
 

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

Top