>>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
Thanks Borislav and Yuri.