Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I run my program, creating excel report that was built on Office 2002 to run on (Office)Excel 2007. Please give me workaround.

Thank you so much in advance.
Posted
Comments
Maciej Los 20-Mar-12 13:54pm    
But where is the problem?

1 solution

Hi losmac,

my program, created in Windows XP Version 2002 SP2 environment, using Office 2002 for excel automation. When I installed the program in a test pc with Windows 7 and Office 2007 environment.
Run the Program and an error regarding PIA compatibility is popping.

I've tried Including MS Office Object lib version 12 in the Reference but an error appeared.

"A Reference to 'Microsoft Office 12.0 Object Library' could not be added. A reference to this type library already exists.
You must remove the reference 'Microsoft.Office.Core' before aading this one."
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900