Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting if embedded chart is the active object 1

Status
Not open for further replies.

Stretchwickster

Programmer
Apr 30, 2001
1,746
GB
I have three embedded charts on a sheet. How do I detect if one of them is currently active? Do I use the TypeName command? Clive [infinity]
 
Test against Selection.Parent.Name

If selection.parent.name = "chart Name" then
'Do stuff
elseif selection.parent.name = "Chart2 Name" then
etc etc etc Rgds
~Geoff~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top