From the posts in this website I see how to open an Excel spreadsheet from VB 5.0 but I don't see any examples of moving data (not an array) from vb to excel.
Can anyone show me an example?
Do you know of any books that would have this information?
Thanks
stan yost
0
Light Poster
Recommended Answers
Jump to PostYou should study this MSDN article. I think it includes some example too.
[edit]Just noticed the link is for VB .NET, not VB 6. This might give you …
Jump to PostHi,
Check this code:Dim xlsheet As Excel.Worksheet TO READ FROM EXCEL Text1.Text = xlsheet.Cells(2, 1) Text2.Text = xlsheet.Cells(2, 2) ' TO WRITE INTO EXCEL ' xlsheet.Cells(2, 1) = Text1.Text xlsheet.Cells(2, 2) = Text2.Text
Regards
Veena
All 5 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
QVeen72
104
Posting Shark
stan yost
0
Light Poster
stan yost
0
Light Poster
QVeen72
104
Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.