Saving HTML File Prompts to Save as Word Document

Last reviewed: February 5, 1998
Article ID: Q130212
The information in this article applies to:
  • Microsoft Internet Assistant for Word, versions 1.0, 1.0z
  • Microsoft Word for Windows, versions 6.0a, 6.0c

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.