WD98: Insert Object Fails When Playing Back Recorded Macro (177100)



The information in this article applies to:

  • Microsoft Word 98 Macintosh Edition

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.

Modification Type:MajorLast Reviewed:10/4/2002
Keywords:kbbug kbmacro kbProgramming KB177100