Solved

Help with problem with excel when converting from VS10 to VS15

Posted on 2016-11-04
3
53 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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