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

  • Thread starter Thread starter Joey
  • Start date Start date
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.
 
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.
 
Back
Top