>How would you open an existing Excel spreadsheet and then save it again. The only way I could get the spreadsheet to open was by the Workbooks object which does not have a SaveAs function.
ox=create('excel.application')
ox.Workbooks.Open('c:\my documents\myfile.xls')
ox.Visible=.t.
* munge the data, then
ox.ActiveWorkbook.Save or
ox.ActiveWorkbook.Close(.t.)
ox.quit
release ox
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright