WD97: Run-time error '5880': No Registered Converter Supports Saving Files in This Format (162132)
The information in this article applies to:
- Microsoft Word 97 for Windows
This article was previously published under Q162132 SYMPTOMS
When you run the following line of Visual Basic for Applications code
ActiveDocument.SaveAs "My HTML Document.html", _
FileFormat:=Application.FileConverters("HTML").SaveFormat
you receive the following error message:
Run-time error '5880': No registered converter supports saving files in
this format.
CAUSE
This problem occurs when accessing the "HTML" document format from the
FileConverters collection using a string value instead of a numerical value
for the index.
STATUS
Microsoft has confirmed this to be a problem in Word 97. We are researching
this problem and will post new information here in the Microsoft Knowledge
Base as it becomes available.
REFERENCES
On page 430 of the Microsoft Office 97 VisualBasic Programmer's Guide, it
references the use of the FileConverters("HTML").SaveFormat syntax. The
workaround in this article should be applied to the example in this Guide.
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Major | Last Reviewed: | 11/14/2000 |
---|
Keywords: | kbmacroexample kbprb KB162132 |
---|
|