Hi,
Struggling with this one for hours...
Excel 2000/Access 2000/Windows 2000
Running Excel from Access
I'm adding a chart and need it to be within an existing sheet so:
with xlsApp.application
<code working>
.Charts.Add
.ActiveChart.Location Where:=xlLocationAsObject, "Event Chart"
<code working>
However it refuses to add the chart to the Sheet ("Event Chart") and instead puts it into the first sheet of the workbook.
All help appreciated.
Ken
Struggling with this one for hours...
Excel 2000/Access 2000/Windows 2000
Running Excel from Access
I'm adding a chart and need it to be within an existing sheet so:
with xlsApp.application
<code working>
.Charts.Add
.ActiveChart.Location Where:=xlLocationAsObject, "Event Chart"
<code working>
However it refuses to add the chart to the Sheet ("Event Chart") and instead puts it into the first sheet of the workbook.
All help appreciated.
Ken