oexcel=create('excel.application')
with oexcel
.visible = .t.
.workbooks.open(getf('xls'))
.Range("A1:B1").Select
.Selection.SpecialCells(11).Select
.ActiveWorkbook.SaveAs('abc.xls',1)
endwith
this code will give you the ability to select the entire contents of the active workbook. You could also just use a macro and run it after instancing the workbook with oexcel.run('mymacro').
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright