Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB and exel tutorial

Status
Not open for further replies.

enque

Civil/Environmental
Joined
Dec 7, 2002
Messages
20
Location
MX
where can i get a vb and exel tutorial or at leat the basics?
how can I send data from exel to the Visual basic editor to do calc?, how can I send the results back to the exel page?
thx very much
 
Typing "excel vba tutorial" into google spit out a bunch of 'em.

Regarding your other questions, look in the VBA help. There's a ton of sample code, most of which does just what you're talking about.

A simple example of using VBA to write to a cell is:

Sub temp()
activecell.value=3
end sub

Really, explore the help.

You could also try one of the many books on the subject. I like John Walkenbach's stuff. Also, check out his site at
 
Thx you very much Beggar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top