Currently I have three separate save commands in my program: Write to Plain Text, Write to HTML, and Write to Excel File.
Each one is invoked by a different command on a menu. I would like to combine these three into one Save File Dialog on the program. I know that I would have to edit the "Filter" property of the dialog box to add in the other two types.
My questions, how do I code the program to save the file based off what is chosen from the filter. That's to say :
If "Selected = Microsoft Excel" Then
* Save As Excel File
ElseIf "Selected = HTML Then
* Save As HTML File
Else
* Save As Plain Text File
End If
Thanks for any response.