Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel ActiveChart.ApplyCustomType
Message
 
To
19/01/2005 09:53:52
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00978531
Message ID:
00978534
Views:
35
>Hi
>
>whats the correct foxpro syntax to do this
>
>This is from a macro
>
>ActiveChart.ApplyCustomType ChartType:=xlBuiltIn, TypeName:= _
> "Line - Column on 2 Axes"
>
>I don't seem to be able to get it right.
>
>Thanks
>
>
>Nick Mason

Something like:
#define xlBuiltIn 21

oExcel.ActiveChart.ApplyCustomType(xlBuiltIn, "Line - Column on 2 Axes")
where oExcel is Your reference to Excel.Application
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform