>>Cesar, worked fine, just I had to change the line
>>loExcel.ActiveWorkbook.SaveAs(tcDestination, xlExcel9795)
>>by loExcel.ActiveWorkbook.SaveAs(tcDestination)
>>I am using Excel 2007
>>
>>Thanks
>
>Do you mean that only removing the 2nd parameter solved the issue ?
Yes, with the second parameter I receive the message:
OleIDDispatch exception code 0 from Microsoft Office Excel: It is not possible to obtain the property SaveAs of class workbook
Antonio Carlos Kleinübing
Systems Analyst