The information in this article applies to:
ERROR MESSAGEWhen you try to save a Word document in a particular file format using a Visual Basic for Applications macro, the following error message may appear: For example, this error message appears when you run the following macro code: NOTE: Microsoft Office 2000 has built-in functionality that allows you to get more information about difficult-to-troubleshoot alerts or error messages. If you want to enable this functionality for this and other error messages in Microsoft Office 2000, please download the Microsoft Office 2000 Customizable Alerts file from the Microsoft Office Update Web site at the following address:
http://officeupdate.microsoft.com/2000/downloadDetails/alerts.htmNOTE: If you reached this article by clicking the Web Info button in an error message, you already have Customizable Alerts enabled. CAUSEThe correct external converter name was not used. WHAT TO TRYThe correct external converter name was not used.The following Visual Basic for Applications macro code checks for each of the converters in the FileConverters collection. If the converter is found, the macro saves the document in the specified file format. Otherwise, a message box appears indicating the converter was not found. NOTE: You must specify the converter correctly by its proper class name. To determine the proper class name of an external converter (a converter that is not built into the Winword.exe executable), use the following example macro:
Back to Top The correct internal converter constant was not used.To save a file using an internal converter (a converter that is built into the Winword.exe executable), you must use a wdSaveFormat constant, as in the following example macro: For more information about a wdSaveFormat converter constant, in the Visual Basic Editor, click
Microsoft Visual Basic Help on the Help menu, type "converter constant" in
the Office Assistant or the Answer Wizard, and then click Search to
view the topic.Back to Top MORE INFORMATIONFor more information about using the sample code in this article, please
see the following article in the Microsoft Knowledge Base: Q212536 OFF2000: How to Run Sample Code from Knowledge Base ArticlesMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web: http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/refguide/ Additional query words: OFF2000
Keywords : kbdta kbmacroexample wd2000 |
Last Reviewed: June 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |