|
-
Jun 19th, 2012, 01:14 PM
#1
Thread Starter
New Member
[RESOLVED] Missing "Imports Excel"
Hi Guys!
I'm currently trying to import data from an Excel document to a list in Visual Basic 2010 Express. The Idea is to have the data easily modifiable by the users. I have looked quite a bit online and all of the examples seem to reference either an "Imports Microsoft.Office.Interop.Excel" or "Imports Excel". When I try to use the I get "(no correction suggestions)". I don't have any idea on how to fix this. Any suggestions on a solution would be greatly appreciated!
Thanks!
PS I have just started using Visual Basic last week and have almost no previous programming experience so any suggestions on resources where I could learn more would be awesome!
-
Jun 19th, 2012, 01:29 PM
#2
Re: Missing "Imports Excel"
You have to add a reference using the project\add reference menu item
-
Jun 19th, 2012, 02:12 PM
#3
Junior Member
Re: Missing "Imports Excel"
You have to make a reference to the Microsoft.Office.Interop.Excel (find this on the .NET tab)
You can select Excel version depending on which version of Excel installed on your pc.
Wath out ! Excel needs to be installed on your pc.
Then in your code use : Imports Microsoft.Office.Interop.Excel
Hope this help,
Kurt
-
Jun 19th, 2012, 03:20 PM
#4
Thread Starter
New Member
Re: Missing "Imports Excel"
Thanks! That's exactly what I needed.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|