how to check if sheet has graphs?

M

musa.biralo

Hi there,

I like to check if sheet has any graph. And if it does copy the graph
to new sheet (add sheet "Graphs" if none found). In this case there
will be only one graph in one sheet.

Thanks in advance.
Musa
 
B

Bernard Liengme

This code tells how many charts on a specified sheet:
Worksheets("Sheet2").ChartObjects.Count
best wishes
 

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

Top