Solved

Help with problem with excel when converting from VS10 to VS15

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal reports vb.net 2 41
Help with exporting to excel 4 28
Send SMS from VB via Sierra Wireless Modem 2 22
Sending receiving text messages in vb.net 15 38
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.

821 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