Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Visual Basic
Connection Between VB6.0 and Excel
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
chitragovardhan
New Member
Join Date:
Jan 2008
Posts:
1
#1
Connection Between VB6.0 and Excel
Jan 18 '08, 09:27 AM
I would like to know the steps in detail about how to establish the connection between VB6.0 and Excel.
ITS VERY URGENT
debasisdas
Recognized Expert
Expert
Join Date:
Dec 2006
Posts:
8119
#2
Jan 18 '08, 11:51 AM
Try to use the
Data
control.
Comment
Post
Cancel
kadghar
Recognized Expert
Top Contributor
Join Date:
Apr 2007
Posts:
1302
#3
Jan 18 '08, 05:28 PM
Originally posted by
chitragovardhan
I would like to know the steps in detail about how to establish the connection between VB6.0 and Excel.
ITS VERY URGENT
Sure, open an excel application, and use any command allowed in VBA for excel. e.g:
[CODE=vb]dim obj1 as object
set obj1 = createobject("e xcel.applicatio n")
obj1.workbooks. open("c:\mybook .xls")
msgbox obj1.activework sheet.cells(1,1 ).value[/CODE]
HTH
PS: sorry for the late answer, but you posted the question when it was 3am in Mx.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment