is object chart?

  • Thread starter Thread starter Mark
  • Start date Start date
Hi,

msgbox Typename(Selection)

Or

msgbox Typename(Selection.Parent)

Should give you some pointers.

Candidates:

ChartArea
ChartObject
Chart

Regards,

Jan Karel Pieterse
Excel TA/MVP
 
Mark -

Try this:

If Not ActiveChart is Nothing Then
'' Selected object is a chart.
End If

- Jon
 
Back
Top