WD98: Error Using PrintToFile with PrintOut Method (180201)



The information in this article applies to:

  • Microsoft Word 98 Macintosh Edition

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


Modification Type:MajorLast Reviewed:10/4/2002
Keywords:kbcode kbprb KB180201