+ Reply to Thread
Results 1 to 4 of 4

How did you learn VBA?

  1. #1
    Registered User
    Join Date
    11-09-2019
    Location
    texas
    MS-Off Ver
    I
    Posts
    1

    How did you learn VBA?

    Hello!

    I'm looking for tips and suggestions on learning VBA? books, online courses any suggestions are welcome.

    most of my VBA is either recording the macro then tweaking it, or searching for similar code online and tweaking it. my goal is to become more proficient in VBA for my job and career advancement.

    thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: How did you learn VBA?

    Hi and welcome

    Recording macros and understanding what they're doing is a great way to start off.

    Having a problem to solve and researching it on forums like this is how I got started. Break things down into small problems and learn to solve them one at a time.
    As your knowledge grows you will find it easier to solve bigger problems by piecing all your knowledge together.

    Use this forum to help you along. There are some fantastic coders on here and they're always happy to help. Never be afraid to ask, no matter how small the problem or how silly you may think it is.

    Between all of the above (and badgering my far more experienced brother, also a forum member, for help), I learned VBA relatively quickly without ever opening a book on the topic or taking a course. I'm far from great at it, but good enough that I have a job doing it.

    Hope that helps and good luck with your learning.

    Beth.

  3. #3
    Forum Contributor
    Join Date
    10-30-2019
    Location
    Bistrita, Romania
    MS-Off Ver
    2019; 365
    Posts
    231

    Re: How did you learn VBA?

    I learned VBA out of need.
    I had many ideas when it came to improvement of some document related activities which involved Word, Excel and Outlook, so I searched for solutions and found VBA.
    I was "afraid" of VBA up until the point I saw its power. I was amazed by what abundance of codes I found online and the infinite possibilities to use those codes.

    I started slow, first searching for solutions via Google and trying to make multiple snippets of code work as one. Sometimes that didn't work well, so I started also asking around on blogs or forums and tried to learn from my mistakes and from the wisdom of others. I still have many things to learn.

    Macro recorder is very useful, as Beth said.
    To understand what code is doing you should run it step by step with F8 and visualize what each line of code does.
    F8 would also help you to prevent lags and freezes in case of accidental infinite loops and such.

    I also saved lots of useful snippets to a Module of their own in the Personal.xlsb file, like LastRow, LastCol etc. just to have them "at arm's length".
    Some of them I saved as Quick Access Toolbar or Ribbon buttons, like toggle R1C1 for when I want to know the number of a column, convert text to number, add thousands separator to selection etc.
    Those snippets helped me later when I started working more and more with VBA.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: How did you learn VBA?

    I found that the best way to learn VBA on your own is to use on-line tutorials, searching the web for specific areas of interest and following forums such as this one. The volunteers on sites such as this one are invaluable at providing help. I would suggest you keep a file of codes that you find useful and in this way you can build up a library that you can refer to. A lot is also trail and error. The more you practise, the better your get at it. The very first post in this forum is a good place to start. Also have a look at these links:
    https://www.mrexcel.com/forum/lounge...ml#post5235342
    http://www.snb-vba.eu/index_en.html
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Like to learn more
    By JPAUL1 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 05-14-2014, 08:01 PM
  2. Willing to learn
    By fmphila in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 04-02-2014, 10:25 AM
  3. Looking to Learn
    By joserborges in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-26-2014, 09:22 PM
  4. Always looking to learn more
    By ProDan in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-07-2014, 12:10 PM
  5. Always trying to learn
    By desnyder2001 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-01-2013, 10:46 PM
  6. How to Learn VBA
    By Decoderman in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-13-2011, 11:57 AM
  7. I want to learn about VBA
    By jimmisavage in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-17-2007, 09:46 AM

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