workbook.open throws 1004 error
Here is the entire application which generates the error:
Dim owb As Workbook
Set owb = Workbooks.Open("C:\temp\test-import-data.xls")
Can't get much more stripped down than that. I can open
test-import-data.xml just fine in Excel but when I execute this functon
I get 1004 "Application-defined or object-defined error". The file is
created via an output from Siebel. But it is in Excel format. We are
using Excel 2003.
If I open up the excel document it will automatically close it when I
call the open and still throw the errors.