>Could you show the code?
>
>>Hi
>>
>>Have been successfully using Excel automation for months - now when I run the application I get an error oxls is not an object - could Excel have been corrupted?
>>
>>Thanks
>>
>>Colin
With thisform.OleControl1
.Navigate2('file://c:\global\bownetest.xls')
Do While .ReadyState # 4 && Wait for ready state
EndDo
endwith
oXLS = thisform.OleControl1.object.document
oExcel = oXLS.Application
Thanks
Colin
Specialist in Advertising, Marketing, especially Direct Marketing
I run courses in Business Management and Marketing