Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unable to read file
I have an INNO setup file that installs (loads) a .xla add-in via COM. This
is the INNO code: oXL := CreateOleObject('Excel.Application'); oXL.Workbooks.Add; oAddin := oXL.Addins.Add(ExpandConstant('{app}\Program\Syner gyReportingLoader.xla'), true ); oAddin.Installed := true; oXL.Quit; For some reason I now get the message from INNO (but generated by Excel): Unable to read file. When I do OK and carry on installing all is fine and there are no problems. I don't get the same message when I start Excel with that .xla loaded, so there is no serious problem, but I am still interested to know how this message could happen. I have done a lot of Googling and tried all the suggested remedies for this, but no difference. This is Excel 2003. I don't get the message on another machine. BTW, adding this tot the INNO script stops the message: oXL.DisplayAlerts := false; I think the chance is slim somebody knows the answer to this, but you never know and thanks in advance. Have posted this to the INNO group, but no insight from there. RBS |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
unable to read file | Excel Discussion (Misc queries) | |||
"Unable to read file" error message when opening a Excel file that contains a PivotTable report. | Charts and Charting in Excel | |||
Unable to read File | Excel Worksheet Functions | |||
unable to read file | Excel Discussion (Misc queries) | |||
unable to read file | Excel Programming |