Chart Code

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

Hello,
I have a chart that I want to check for data labels when the chart is
deactivated. So, I have inserted the following code in the chart page:

Private Sub Chart_Deactivate()
MsgBox ActiveSheet.Name
End Sub

The active sheet is the sheet I selected. Not the chart sheet. How do I
do this?

Thanks.

Bill
 
Hi Bill,

Try,

Private Sub Chart_Deactivate()
MsgBox Me.Name
End Sub

Cheers
Andy
 

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

Back
Top