List Charts in a Worksheet

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

Guest

Does anyone have a macro that will list all charts and their titles in a worksheet? Something like
Chart22 Financial Resut
Chart23 Operational Result
Etc

Thanks
Phil
 
I found this in old notes, and it works - now I need to add the chart title behind the chart name

Sub ListCharts(
'Screen prints a list of charts in a worksheet
Dim Msg As Strin
Dim ChtObj As ChartObjec
Msg = ActiveSheet.Name & vbCrL
For Each ChtObj In ActiveSheet.ChartObject
Msg = Msg & vbCrLf & ChtObj.Name '& ChtObj.ChartTitl
Nex
MsgBox Ms
End Sub
 

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