Problems generating spreadsheet from C++ application after upgrade to Office 2003
Posted on 2007-04-11
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?