Solved

Use VS 2008 to create Excel 2010 Add-in

Posted on 2010-11-19
13
766 Views
Last Modified: 2013-11-26
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
Comment
Question by:jppinto
  • 7
  • 4
  • 2
13 Comments
 
LVL 4

Expert Comment

by:Andre412
ID: 34177286
0
 
LVL 4

Expert Comment

by:Andre412
ID: 34177289
and of course reference them in your project
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34177295
I guess you don't want to upgrade to VS 2010 yet?
0
 
LVL 33

Author Comment

by:jppinto
ID: 34177318
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
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34177326
It should be unless the 2010 machine is 64 bit.
0
 
LVL 33

Author Comment

by:jppinto
ID: 34177329
At home I already use the VS 2010 but here, at work, I'm "stuck" with the 2008 version for now!
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34177349
Is the computer with Excel 2010 64 bit?
0
 
LVL 37

Accepted Solution

by:
TommySzalapski earned 500 total points
ID: 34177355
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
 
LVL 33

Author Comment

by:jppinto
ID: 34177361
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
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34177366
No no. It's way simpler than that. See my last post.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34177369
Also, if that doesn't work. Create a
C:\Program Files\Microsoft Office\Office12\
folder and move excel.exe into it.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34177371
Copy, not move.
0
 
LVL 33

Author Closing Comment

by:jppinto
ID: 34177398
Thanks!!!! If I could award you 10,000 points I would do it!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now