Use VS 2008 to create Excel 2010 Add-in

Is it possible to do?

When I open my VS 2008 and create New Project, on the Office project type, I only see Office 2007 and 2003. I've only Excel 2010 installed on this computer.  I select the Excel 2007 Add-in and created a new ribbon to test. When I run my project it says that "You cannot debug or run this project, because the required version of the Microsoft Office application is not installed".

What can I do to run my project? I'm I missing something?

Thanks,

jppinto
LVL 33
jppintoAsked:
Who is Participating?
 
TommySzalapskiConnect With a Mentor Commented:
Hah, wait. I got it.
In your project properties you need to set the debugging application.
It's looking for C:\Program Files\Microsoft Office\Office12\excel.exe
Tell it to look for C:\Program Files\Microsoft Office\Office14\excel.exe
0
 
Andre412Commented:
0
 
Andre412Commented:
and of course reference them in your project
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
TommySzalapskiCommented:
I guess you don't want to upgrade to VS 2010 yet?
0
 
jppintoAuthor Commented:
But if I have the interop libraries for 2007, and I make a new Office 2007 add-in, shouldn't it be compatible with Excel 2010?
0
 
TommySzalapskiCommented:
It should be unless the 2010 machine is 64 bit.
0
 
jppintoAuthor Commented:
At home I already use the VS 2010 but here, at work, I'm "stuck" with the 2008 version for now!
0
 
TommySzalapskiCommented:
Is the computer with Excel 2010 64 bit?
0
 
jppintoAuthor Commented:
32bits

My problem gets bigger because I'm not the administrator of the machine. To install something I need to ask IT services permission...
0
 
TommySzalapskiCommented:
No no. It's way simpler than that. See my last post.
0
 
TommySzalapskiCommented:
Also, if that doesn't work. Create a
C:\Program Files\Microsoft Office\Office12\
folder and move excel.exe into it.
0
 
TommySzalapskiCommented:
Copy, not move.
0
 
jppintoAuthor Commented:
Thanks!!!! If I could award you 10,000 points I would do it!
0
All Courses

From novice to tech pro — start learning today.