Thread
:
Delete a chart
View Single Post
#
2
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
Delete a chart
Have you tried recording a macro?
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Shell" wrote in message
...
I have created a chart in code as follows:
Charts.Add
ActiveChart.ChartType = xlLineMarkers
ActiveChart.SetSourceData Source:=Sheets("Analysis").Range("B1:C3"),
PlotBy:= _
xlColumns
ActiveChart.Location Whe=xlLocationAsObject, Name:="Analysis"
With ActiveChart
.HasTitle = False
.Axes(xlCategory, xlPrimary).HasTitle = False
.Axes(xlValue, xlPrimary).HasTitle = False
End With
How do I delete the chart in code?
Thanks
--
Shell
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett