run-time error '4198'

C

chubby

I have installed MS Clip gallery from Office 2K so that I can use the clip
art in Office XP.
I want to setup a macro which is run from the menu so that I do not have to
go through the tedious Insert>Object>Microsoft Clip Gallery procedure for
inserting the 2K clipart.

I have the following macro in MS Word which causes a run-time error '4198'
Command failed, when the macro is run:
Selection.InlineShapes.AddOLEObject ClassType:="MS_ClipArt_Gallery.5"

How can I stop this error from occurring?
I am using Office 2000 SP2.

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top