+ Reply to Thread
Results 1 to 7 of 7

Can you guys recommend books that help learn VBA?

  1. #1
    Forum Contributor
    Join Date
    09-19-2016
    Location
    Alaska
    MS-Off Ver
    MS 2010, 2013, 2016
    Posts
    272

    Can you guys recommend books that help learn VBA?

    Hello

    I would like to learn VBA, I have very little, let's just say no understanding on how to write VBA. I am interested in learning but there are a lot of books out there for beginners that claim to help but would like recommendations of books or authors.

    Thanks in advance.
    Last edited by AccountingJ; 12-05-2017 at 05:08 PM.

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

    Re: Can you guys recommend books that help learn VBA?

    The very first thread in this forum would be a good start. It's highlighted in blue.
    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.

  3. #3
    Forum Contributor
    Join Date
    09-19-2016
    Location
    Alaska
    MS-Off Ver
    MS 2010, 2013, 2016
    Posts
    272

    Re: Can you guys recommend books that help learn VBA?

    oh gosh, lol. I'm sorry and thank you.

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

    Re: Can you guys recommend books that help learn VBA?

    You are very welcome. No need to apologize. We've all been there!

  5. #5
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: Can you guys recommend books that help learn VBA?

    The "Excel Bible" series by Walkenbach are good. They give you the required foundation in Excel itself and then a good primer on starting VBA. "Writing Excel Macros" by Roman is a good VBA book, its old but gives a good foundation.

    You should also lookup and research common programming concepts like; variables, objects, loops, If-then-else, sorting algorithms, etc. When people aim to learn a specific language they typically mean to learn its syntax, object model, properties, methods, classes, etc. It however is important (and many VBA books I am sure will teach it) to have a understanding of the core concepts that most/all programming languages share.

    One of the most important things to learn re VBA is when NOT to use it. Its like having a Ferrari in the garage but knowing when to take the Mini Van out. I often have to ask myself "If I should do x?" not "Can I do x?" with VBA. If you can solve a problem with built in features, formulas, etc that is often a better, less complex and easier to use solution than VBA can be.

    I would also stress as was stressed to me, learn how to use error handlers and comment your code. Others may disagree, but I am of the belief that all VBA code should have an error handler. A user should never be presented with a debug option and/or a cryptic error. Comments will aid in revisiting your code either as you write it or down the road when you need to fix or update it and will help others should they need to work with it.

    Lastly, keep in mind that anyone can write code, but few of them write good/proper code. Hopefully you aim for the later.

  6. #6
    Forum Contributor
    Join Date
    09-19-2016
    Location
    Alaska
    MS-Off Ver
    MS 2010, 2013, 2016
    Posts
    272

    Re: Can you guys recommend books that help learn VBA?

    Thank you Zer0Cool, I'm currently shopping for books so I will be in the lookout for that book as well. I'm obsessive with anything I do, so I'll always aim to be write good and proper code.

  7. #7
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Can you guys recommend books that help learn VBA?

    A noble aim but you'll find that there is no single definition of good/proper code. There aren't even that many best practices that everyone (or most) will agree on. Comments and error handlers are two places where you will find significant disagreement even amongst seasoned programmers.

    Even though I do agree with the comment about knowing when not to use VBA, I suspect there will be different interpretations of when that point is too.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. Anyone recommend Excel Teaching Books or Guides
    By LRGy in forum Excel General
    Replies: 1
    Last Post: 08-03-2014, 08:36 PM
  2. Excel Books to recommend?
    By cmf0106 in forum Excel General
    Replies: 1
    Last Post: 11-10-2009, 12:57 PM
  3. If you had to recommend a book to learn VBA. . .
    By Rynofasho in forum Excel General
    Replies: 3
    Last Post: 04-20-2009, 09:44 AM
  4. What books you would recommend?
    By luna55 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-13-2008, 02:47 PM
  5. books and/or websites can you recommend
    By jamiepullen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2008, 04:46 PM
  6. [SOLVED] Recommend books for interpreting & reporting statistics...
    By Chrys in forum Excel General
    Replies: 1
    Last Post: 07-31-2005, 06:05 AM
  7. [SOLVED] Recommend books
    By Mike Cranford in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2005, 01:06 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