?
Solved

Help with problem with excel when converting from VS10 to VS15

Posted on 2016-11-04
3
Medium Priority
?
60 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
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: …
Suggested Courses

770 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