How to recognise which object selected in word!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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 :-)
 
Back
Top