Saving HTML File Prompts to Save as Word Document |
Q130212
When choosing the Save icon on the Standard toolbar or selecting Save from the File menu the first time you save a file based on the HTML template, the default file type is Word Document instead of Hypertext Markup Language (HTML). This behavior does not occur when you choose Save As from the File menu nor when you perform subsequent saves to your document.
Microsoft has confirmed this to be a problem in Internet Assistant for Word for Windows versions 1.0, and 1.0z. This problem was corrected in Internet Assistant version 2.0 for Word for Windows 95.
Sub MAIN
Dim dlg As FileSaveAs
GetCurValues dlg
x = ConverterLookup("HyperText Markup Language (HTML)")
Dlg.Format = x
If Dialog(dlg) Then FileSaveAs dlg
End Sub
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN
RISK. Microsoft provides this macro code "as is" without warranty of any
kind, either express or implied, including but not limited to the implied
warranties of merchantability and/or fitness for a particular purpose.
Additional query words: winword iaword ia word6 internet assistant file save as document type format
Keywords : kbmacroexample kbwdinternet
Issue type :
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |