Microsoft KB Archive/177100

= WD98: Insert Object Fails When Playing Back Recorded Macro =

Article ID: 177100

Article Last Modified on 10/4/2002

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q177100



SYMPTOMS
When you record a macro that inserts a graphic file as an Object (on the Insert menu, click Object, and then click From File) and then play back the macro, you receive the following error message:

The server application, source file, or item cannot be found. Make sure the application is properly installed, and that it has not been deleted, moved, or renamed.

followed by:

Run-time error '4198': Command failed.



CAUSE
You are inserting an object for which there is no registered class.



WORKAROUND
While recording your macro, use Insert File instead of using Insert Object:


 * 1) On the Insert menu, click File.
 * 2) Navigate to the file you want to insert.
 * 3) Select the file, and then click OK.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: wordcon OFF98 vba

Keywords: kbbug kbmacro kbprogramming KB177100

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.