×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

A beginner of VBA, need to learn it!

A beginner of VBA, need to learn it!

A beginner of VBA, need to learn it!

(OP)
Dear all:

I am a novice to programming, want to start from VBA. I need advice, from where I should start. I started to read a book, but realized that there is need to start from basics, particularly from the terms used and their meaning.
Any help regarding refrerencing to ay material on the web or recommendation of any book explaining from the very start & basics will be appreciated.
Replies continue below

Recommended for you

RE: A beginner of VBA, need to learn it!

The best approach is to figure a project that you need done and then go do it.  Anything else would be too artificial and you'd still have to do a real project at the end of it.

TTFN

FAQ731-376: Eng-Tips.com Forum Policies

RE: A beginner of VBA, need to learn it!

The book I used, and still use from time to time, was the "For Dummies" book authored by John Walkenbach.  It was called "Excel 97 Programming for Windows for Dummies".

I do not think it is available new any more, so try for a second hand copy.  IMHO its successor books (for later versions of Excel and by a different authors) were aimed at people somewhat less dummy than me.

RE: A beginner of VBA, need to learn it!

You can learn some syntax basics in Excel by recording a macro, then looking at the code in the VB editor.  I figured out a lot of stuff that way.

RE: A beginner of VBA, need to learn it!

I learned the same way as Satchmo.  Record macros and study them carefully as you record them.

Also try googling what you need to do..  I'm pretty sure everything you need to know is free on the internet already.
 

RE: A beginner of VBA, need to learn it!

I also learnt by recording macro's and also from downloading samples that did close to what I wanted and modifying them. Best thing is to have something you want to do and keep trying until you get it!!!

Cheers
  Steve Griffiths smile

If you want to make apple pie from scratch, first you must create the universe!

RE: A beginner of VBA, need to learn it!

You might want to visit the sister site of this one "Tek-tips.com".  All the computer geeks are over there and they have a wealth of info and are also very helpful

RE: A beginner of VBA, need to learn it!

(OP)
Dear All,

I am grateful for all of your time and valuable advices. I am waiting for the book as mentioned by Denial and will go through the Macro recording stratergy as well.

Regards & Thanks

RE: A beginner of VBA, need to learn it!

I found the best way to learn is to put excel in record mode and then do whatever you wish.  Stop the recording and look at the generated code.

It can then be optimized to do whatever you want.  You can do this for all the office tools.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close