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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting Graphs from a Worksheet

Status
Not open for further replies.

scottscott

Programmer
Dec 14, 2006
29
US
Hello,

How would I delete all the graphs from a particular sheet without knowing the names of the graphs?

Thanks,

ScottScott
 


hi,
Code:
dim co as chartobject
'delete all chartobjects in active sheet
for each co in activesheet.chartobjects
  co.delete
next


Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top