Solved

Help with problem with excel when converting from VS10 to VS15

Posted on 2016-11-04
3
23 Views
Last Modified: 2016-11-25
Hi,

When I try to run my project with VS15, I receive the following errors:
Type 'Excel.Application' is not defined
Type 'Excel.Workbook' is not defined;
Type 'Microsoft.Office.Interop.Excel.Chart' is not defined
XFile format is not a member of 'Microsoft.Office.Interop.excel

How do I fix those errors?

Thanks,

Victor
0
Comment
Question by:vcharles
3 Comments
 
LVL 44

Expert Comment

by:AndyAinscow
Comment Utility
run or compile?  There is a big difference.
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
Comment Utility
It looks like your reference to Excel is broken. Try removing it and re-add it.
0
 

Author Closing Comment

by:vcharles
Comment Utility
Thanks.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

9 Experts available now in Live!

Get 1:1 Help Now