Link to home
Start Free TrialLog in
Avatar of jribble
jribble

asked on

Problems generating spreadsheet from C++ application after upgrade to Office 2003

My workstation has been recently upgraded to Office 2003.  I tried to run an application that used to work on my workstation that generates an excel spreadsheet.  When I try to build for debugging I am getting the following error...

c:\visualstudio2005\source\gpmqnt\main branch\supplierscorecard\supplierscorecardmediator.h(23) : fatal error C1083: Cannot open type library file: 'excel9.olb': No such file or directory

I searched my c: drive for excel*.olb and found only Excel8.olb in WINNT\SYSTEM32.  This appears to be an old file.

My import statement looks like this...
#import <excel9.olb> rename("DialogBox", "DialogBoxXL") rename("RGB", "RBGXL") rename("DocumentProperties", "DocumentPropertiesXL") no_dual_interfaces

Does anyone know what the new import statement should look like?
Avatar of dirknibleck
dirknibleck

If you have Excel 2003, the Library should be excel 11.

My references window seems to think that the location of this library is excel.exe...
ASKER CERTIFIED SOLUTION
Avatar of dirknibleck
dirknibleck

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial