Link to home
Start Free TrialLog in
Avatar of bbarr0073
bbarr0073

asked on

How do I pull data from excel to VB form

I have an excel spreadsheet that I want to search names that are in columns C,D and E  grab info from the cells on that row and display the data in a textbox. Can anyone point me to a tutorial link or show me how to go about writing code that will pull data from an data source excel file and display the information.



Form.PNG
Consolidation---center-10-13-11.xlsx
Avatar of StephenJR
StephenJR
Flag of United Kingdom of Great Britain and Northern Ireland image

Where is the form?
Avatar of bbarr0073
bbarr0073

ASKER

form now attached. thanks StephenJR
WindowsApplication1.sln
VB classic or VB.Net?
VB classic, what would be difference. The way the data is stored?
What if I wanted to share this with multiple people. should it be .net and on a sql server. is there not a way to add the data to the application instead of storing in    xl.ActiveWorkbook.Close False, "c:\book1.xls"
when you say "share" you mean available for others to work with the application at the same time?

if so, yes a better way would be using vb.net and sql server.

btw, vb.net is easy to handle if you used vb classic before:)
I already have a sql server. do you have any smaple for what I am trying to do for .NET.

So I have a few question, IF this was setup on a sql server I can use the same form that I created? what would be needed to be on users computer to use it and will they maybe one day be able to edit the data is its not correct. that would be awesome!
Thats right it is Visiual Studio 2010
This thread is for vb classic and excel. For a vb.net and sql server you should create a new question.
ASKER CERTIFIED SOLUTION
Avatar of José Perez
José Perez
Flag of Chile image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial