How can I get started in VB programming?

I just want to write VB script in my MS Word and MS Excel documents.

I have programming experience [years ago I even programmed in Basic], but I feel lost inside the VB editor in my Office products.

Is there a good online tutorial somewhere, or a particular help screen I should be using?
Who is Participating?
mr_krishnaConnect With a Mentor Commented:
First read programmer guide given my VB online books. Then start small examples given by microsoft VisualBasic. Once you have some familirization then starts some in-depth knowledge books.
Then search some VB good sites. You will get maximum knowledge.
Hardest concept for newbies is switching from linear thought process to interrupt (event) driven coding. In VB it is quite likely for *none* of your code to execute at any given time while waiting for operator input. Timing/polling loops are a thing of the past (except in specific, special, circumstances.)

Best way to code is to dive in and write something. Without a definate plan of attack in mind, there is just too much to absorb for "general" books to lead you into anything detailed. Choose a simple application that you understand the logic of and write *that*. Get familiar with controls, properties, events, methods and learn the tempo of VB coding.

There are a TON of books on VB out at et al.

Other's, I'm sure, will give you exact titles.

Good luck!

Go to for a good tutorial on writing VBscript.  Also Microsoft distributed Visual Basic learning edition 2.0 on the net.  It's very old, but it has a very good tutorial and is a good way to get started in VB for free.
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions


Get a good Book.
My recommendation would be Sams Publishing
a 21 day series.

Just make sure you look on the back cover,
it has a bar showing you what level the book is for.
Something like Beginer , Inter..., Pro.

Here's the links

1. Teach Yourself Visual Basic 5 in 21 Days - Nathan Gurewich, Ori Gurewich; Paperback

2. Sams' Teach Yourself Visual Basic 6 in 21 Days (Teach Yourself) - Greg M. Perry;

3. Teach Yourself Database Programming with Visual Basic 6 in 21 Days With
                     CDROM - Curtis Smith, Mike Amundsen; Paperback

My girlfriend has an older edition of #1 / #2. - and I can recommend it - based on the progress she made (no previous programming experience).
cummingsdwAuthor Commented:
Sorry, idcanada, but I'd rather give the points to staticsnow,
who provided the microsoft link that I've been reading for the
past several hours.  Thanks anyway for your good suggestion,
and thank you too, answers2000 and mark2150.

But please, staticsnow, take the points

cummingsdwAuthor Commented:
idcanada.  take the points.  i guess staticsnow doesn't want them.  or mark2150, or answers2000.  somebody take the points.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.