[Migrated content. Thread originally posted on 17 February 2005]
I am having problems creating a chart in excel. Do you have a sample program that creates a chart?Here is the vb code. I am having problems translating it into cobol code.
Charts.Add
ActiveChart.ChartType = x13DColumnStacked
ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range("A2:B12"), PlotBy:=x1Columns
ActiveChart.Location Where:=x1LocationAsObject, Name:="Sheet1"
With ActiveChart
.HasTitle = True
.ChartTitle.Characters.Text = "My Title"
.Axes(x1Category).HasTitle = False
.Axes(x1Series).HasTitle = False
.Axes(x1Value).HasTitle = False
End With
Thank you in advance for your help.
Patty