Macro Command Line

M

m-dash

I wrote a Macro on a Mac and it also needs to work on a PC (windows
XP).
The whole macro works just fine except the final command which is:

WordBasic. InsertClipArt

I don't know PCs all that well, so I'm hoping someone out there knows
the PC command for this action.
THANKS!
 
K

Klaus Linke

m-dash said:
I wrote a Macro on a Mac and it also needs to work on a
PC (windows XP).
The whole macro works just fine except the final command which is:

WordBasic. InsertClipArt

I don't know PCs all that well, so I'm hoping someone out there knows
the PC command for this action.
THANKS!


Hi —

You can try
CommandBars.FindControl(Id:=682).Execute

Hopefully, that works in all versions (also on the Mac?).

I guess InsertClipArt has been replaced by DrawRunCag (whatever that
means), but WordBasic.DrawRunCag doesn't seem to work in Word2003.
The above command opens the "Clip Art" task pane in Word2002/2003.

Regards,
Klaus
 

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