Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel automation problem
Message
From
01/03/2006 11:53:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Excel automation problem
Miscellaneous
Thread ID:
01100443
Message ID:
01100443
Views:
45
Hi

I have a problem creating a chart on a sheet in a workbook.

.ActiveChart.Location(xlLocationAsObject,"Summary Source")

should create the chart on the sheet titled "Summary Source". This is the second sheet of four.
But the chart is being created on the first sheet

I tried selecting the sheet with

.Sheets("Summary Source").Select

and in Excel that is showing as the selected sheet but the chart still goes on the first sheet.

Any ideas what I am doing wrong.

Thanks

Nick Mason
Next
Reply
Map
View

Click here to load this message in the networking platform