That is how far I can get with Excel 97. What is the format of Chartwizard command?
Thanks,
Tanya.
xl=CreateObject("Excel.Sheet")
xl.Application.Visible=.T.
*** Copy data to an excel spreadsheet
for i = 1 to _TALLY
xl.Application.Cells(i,1).Value = cust_distrib(i,1)
xl.Application.Cells(i,2).Value = cust_distrib(i,2)
endfor
*** Add a ChartObject to the worksheet:
ch1 = xl.Application.Worksheets("sheet1").ChartObjects.Add(100, 30, 400, 250)
????????
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement