Microsoft KB Archive/169547

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 11:05, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base

Article ID: 169547

Article Last Modified on 1/19/2007


  • Microsoft Word 97 Standard Edition
  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a
  • Microsoft Visual FoxPro 6.0 Professional Edition

This article was previously published under Q169547


When you attempt to call Word 97 Visual Basic for Applications methods from Microsoft Visual FoxPro, you may receive the following error message:

OLE error code 0x800200005. Type Mismatch.


To correct this problem, install Microsoft Word 97 Service Release 1 (SR-1).

To work around this problem, use the Microsoft Word Visual Basic for Applications WordBasic object to call the required methods as in the following example:

WordObj.WordBasic.FileSaveAs "C:\MyDoc.Doc"


Microsoft has confirmed this to be a problem in Microsoft Word 97 for Windows. This problem was corrected in Microsoft Word 97 SR-1.

For additional information about SR-1, please see the following article in the Microsoft Knowledge Base:

172475 OFF97: How to Obtain and Install MS Office 97 SR-1


There are a number of Word 97 Visual Basic for Applications automation calls (the SaveAs method, for example) that fail when invoked from Microsoft Visual FoxPro versions 5.x and 6. Attempting to invoke these methods returns "Type Mismatch" errors.

Additional query words: SR1 release1 8.0 8.00 vb vbe vba

Keywords: kbbug kbdtacode kberrmsg kbfix kbprogramming KB169547