Microsoft KB Archive/130212

{|
 * width="100%"|

Saving HTML File Prompts to Save as Word Document

 * }

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.

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.

Additional query words: winword iaword ia word6 internet assistant file save as document type format

Keywords : kbmacroexample kbwdinternet

Issue type :

Technology :