General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2000 Server
One thing that may help is to use the proper value for xlBuiltin. When I pull up Excel and hit Alt-F11, then F2, I see that xlBuiltin has a value of 21 not 0. I did not go any further but this should be of some benefit.
>Hi all
>
>I 've tried automating the following VBA code in VFP7 with OLE error
>
>ActiveChart.ApplyCustomType ChartType:=xlBuiltIn, TypeName:= "Line - Column on 2 Axes"
>
>My VFP Code is :
>
>MyClass.oExcel.ActiveChart.ApplyCustomType(0,"Line - Column on 2 Axes")
>
>Would greatly appreciate if you could point out my error.
>
>Thanks & Best Regards
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only