FUNCTION ExcelFileOpen(toExcel, tcFile, tlUpdateLinks, toStuff, tlProtection, tcPassword, taSheetVisible) LOCAL retparm, loWorkbook retparm = .T. TRY loWorkbook = toExcel.Workbooks.OPEN(tcFile, tlUpdateLinks) CATCH TO ww errortextbuild(toStuff, ; 'Error in ' + JUSTSTEM(tcFile) + ': ' + 'File cannot be opened', .F., .T., .T.) retparm = .F. SUSPEND ENDTRYSome values for the object 'ww' are:
baseclass "Exception" details "80010105: The server threw an exception" Errorno 1426 message "OLE erroe code 0x80010105: The server threw an exception"Any ideas?