Microsoft KB Archive/180201

From BetaArchive Wiki
Knowledge Base


WD98: Error Using PrintToFile with PrintOut Method

Article ID: 180201

Article Last Modified on 10/4/2002



APPLIES TO

  • Microsoft Word 98 for Macintosh



This article was previously published under Q180201

SYMPTOMS

When you use the PrintOut method in Microsoft Visual Basic for Applications code, and you set the PrintToFile argument equal to True, you receive the following error message when you run the code:

Run-time error '4198': Command failed

CAUSE

The PrintToFile argument is not implemented on the Macintosh.

REFERENCES

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



Additional query words: wordcon OFF98 macro Sub Function procedure word98

Keywords: kbprb kbcode KB180201