Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Loops
Hello there,
Can anyone help me with a code that delets all series in a certain chart? No matter how many series there are. Thanks.... |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Loops
Hannes
For the activechart Sub deleteSeries() Dim sc As Series For Each sc In ActiveChart.SeriesCollection sc.Delete Next sc End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England HIS "Hannes" wrote in message ... Hello there, Can anyone help me with a code that delets all series in a certain chart? No matter how many series there are. Thanks.... |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Loops
something like this? Untested
Sub DeleteSeries() Dim S As Series For Each S In ActiveSheet.ChartObjects(1).Chart.SeriesCollection S.Delete Next End Sub -- Don Guillett SalesAid Software "Hannes" wrote in message ... Hello there, Can anyone help me with a code that delets all series in a certain chart? No matter how many series there are. Thanks.... |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Loops
Thanks a lot Nick!
"Nick Hodge" wrote: Hannes For the activechart Sub deleteSeries() Dim sc As Series For Each sc In ActiveChart.SeriesCollection sc.Delete Next sc End Sub -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England HIS "Hannes" wrote in message ... Hello there, Can anyone help me with a code that delets all series in a certain chart? No matter how many series there are. Thanks.... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
loops???? | Excel Worksheet Functions | |||
Loops | Excel Discussion (Misc queries) | |||
Using For - Next Loops in VB | New Users to Excel | |||
Do Loops | Excel Programming | |||
Loops | Excel Programming |