Solved

Help with problem with excel when converting from VS10 to VS15

Posted on 2016-11-04
3
56 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 41873801
run or compile?  There is a big difference.
0
 
LVL 70

Accepted Solution

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

Author Closing Comment

by:vcharles
ID: 41901354
Thanks.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

690 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