Saving HTML File Prompts to Save as Word Document

ID: Q130212

The information in this article applies to:

SYMPTOMS

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.

STATUS

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.

WORKAROUNDS

Method 1: From the File menu, choose Save As.

Method 2: Use the following macro, and then assigned it to a button, menu,

          or shortcut key:

          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.

KBCategory: kbusage KBSubcategory: kbmacroexample Additional query words: 6.0a 6.0c winword 1.0 1.0z iaword ia word6 internet assistant file save as file document type format

Keywords          : kbmacroexample kbwdinternet 
Version           : 1.0 1.0z
Platform          : WINDOWS

Last Reviewed: February 6, 1998