Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 795
  • Last Modified:

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
0
jppinto
Asked:
jppinto
  • 7
  • 4
  • 2
1 Solution
 
Andre412Commented:
0
 
Andre412Commented:
and of course reference them in your project
0
 
TommySzalapskiCommented:
I guess you don't want to upgrade to VS 2010 yet?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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
 
TommySzalapskiCommented:
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
 
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

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 7
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now