How to recognise which object selected in word!

N

nandi

Hi

How can we obtain information about any object ( like powerpoint presentation) when its selected

I want that powerpoint show should start as soon as powerpoint object on word document is selcted and a button is clicked

regards
nandi
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?bmFuZGk=?=,
How can we obtain information about any object ( like powerpoint presentation) when its selected.

I want that powerpoint show should start as soon as powerpoint object on word document is selcted and a button is clicked.
It would require VBA code. Probably, you'd first need to check the .Type of the Selection. And if it's a type that supports
OLE, you can use the Activate or DoVerb methods to "run" the application (assuming it's installed on the machine).

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :)
 

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