Office 2K clipart in XP

C

chubby

How is it possible to insert Office 2K clipart into word XP?
I have the following macro that but it causes a run-time error '4198'
Command failed:

Selection.InlineShapes.AddOLEObject ClassType:="MS_ClipArt_Gallery.5"

How can I stop this error from occurring?

Thanks
 
B

Bob Buckland ?:-\)

Hi Chubby,

It's possible to call the MS Office 2000 Clipart
Gallery manually in Office XP through
Insert=>Object=>Microsoft ClipArt Gallery,
but for doing it in code you may want to post
in
news://msnews.microsoft.com/microsoft.public.drawing.graphics
and include in the body of the message the macro code
you're using and what you're trying to accomplish.
MVP Cindy Meister, who has written a number of articles
on working with graphics via macros in Word follows that
group and may be able to help.

========
How is it possible to insert Office 2K clipart into word XP?
I have the following macro that but it causes a run-time error '4198'
Command failed:

Selection.InlineShapes.AddOLEObject ClassType:="MS_ClipArt_Gallery.5"

How can I stop this error from occurring?

Thanks >>
--
I hope this helps you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 

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