Using VB.net to read cell data from Excel 97

G

Guest

I am new to VB.net, I know how to make command buttons and text boxes on a VB
form. I need help with writing the code to ope and Excel 97 spreadsheet and
place a cell data (A1) into my VB.net textbox. How do I code to open a Excel
file and then read a cell's contents??
 
P

Paul Clement

¤ I am new to VB.net, I know how to make command buttons and text boxes on a VB
¤ form. I need help with writing the code to ope and Excel 97 spreadsheet and
¤ place a cell data (A1) into my VB.net textbox. How do I code to open a Excel
¤ file and then read a cell's contents??

See the following example:

How to automate Microsoft Excel from Visual Basic .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;301982


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top