Reputation: 33
I have an Excel Add in , which is built in Visual Studio using C#.
This add-in was designed for Microsoft Excel 2010, but I want to know if it is possible to run the same add-in in excel 2013.
I am getting the following error:
You cannot debug or run this project because the following version on microsoft office is not installed
Is there any way to run the same code for Excel 2013?
Upvotes: 1
Views: 167
Reputation: 156978
Yes it is, but it searches for Office 2010 by default. If you have Office 2013 installed, it can't find it.
You should provide the startup executable to Visual Studio. You have to set the Start external program
in the project properties to the Excel
executable. At my desktop it is C:\Program Files\Microsoft Office\Office15\EXCEL.EXE
.
Upvotes: 2