+ Reply to Thread
Results 1 to 7 of 7

VBA code (and macro) help and tutorial?

  1. #1
    Registered User
    Join Date
    03-31-2011
    Location
    Washington, USA
    MS-Off Ver
    Excel 2007
    Posts
    0

    VBA code (and macro) help and tutorial?

    Is there a website and/or youtube video(s) that you could suggest where we can learn VBA code? All about variables and actually writing code? For beginners?

    I have seen many websites but none of them really give a breakdown of what the variables mean or how to write a program using fresh code (from scratch), something simple to something complex.

    I would like to learn more about how to automate tasks associated with reporting, including using macros. Thank you for your help.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: VBA code (and macro) help and tutorial?

    VBA for Dummies.
    Anything from John Walkenbach.

  3. #3
    Registered User
    Join Date
    03-31-2011
    Location
    Washington, USA
    MS-Off Ver
    Excel 2007
    Posts
    0

    Re: VBA code (and macro) help and tutorial?

    Quote Originally Posted by stnkynts View Post
    VBA for Dummies.
    Anything from John Walkenbach.
    Thanks for the book suggestion Do you have websites and/or video recommendations as well?

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: VBA code (and macro) help and tutorial?

    I don't really have any website/video recommendations, but I have found the Record Macro utility to be tremendously useful for learning VBA.

  5. #5
    Registered User
    Join Date
    03-31-2011
    Location
    Washington, USA
    MS-Off Ver
    Excel 2007
    Posts
    0

    Re: VBA code (and macro) help and tutorial?

    Thanks I will try playing around with the Record Macro function and see what code gets generated, although from what I have heard it isn't really efficient code, but it will help some.
    Last edited by romperstomper; 04-01-2011 at 03:15 AM.

  6. #6
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: VBA code (and macro) help and tutorial?

    hi Johnt83,

    Adding to the previous comments:
    - I would second the support of Walkenbach's books. I have found them very useful & easy to read too which is always a bonus
    - Some of the code from the macro recorder isn't terribly efficient but, provided your specific actions can be recorded, the recorder can help greatly by providing samples of the correct syntax. These samples can then be optimised as you learn how. Also, after selecting a word or phrase of recorded code in the VBE you can press [F1] to bring up the relevant Help file.


    You may find the links in the below post help you on your journey of self guided discovery...
    http://www.excelforum.com/2411485-post4.html

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  7. #7
    Registered User
    Join Date
    03-31-2011
    Location
    Washington, USA
    MS-Off Ver
    Excel 2007
    Posts
    0

    Re: VBA code (and macro) help and tutorial?

    Thank you Rob for all the insight and sharing the links, I really appreciate it
    Last edited by romperstomper; 04-01-2011 at 03:15 AM. Reason: Remove quote

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1