Do you often find yourself, doing repetitive tasks over and over again in Excel and wishing that somehow, someway these tasks could be automated? Well, the good news is that these tasks can be automated using macros.
What are macros? Well simply put, they are small concise pieces of VBA code that allow one to automate tasks. What is VBA you ask? Well VBA stands for Visual Basic for Applications, a programming language native to the Office environment that allows one to extend the functionality of Office. VBA is quite a versatile language and you can use it to create macros, manipulate values in cells, and open and create workbooks among other things. Once you really get beyond the basics, you can manipulate Word, and PowerPoint from within the Excel VBA environment. So it’s quite a useful skill to have.
Simple macros can be recorded, however without ever engaging with the Visual Basic environment extensively. Using the macro recorder, Excel records all one’s actions one performs in the workbook you are using, so for example if one copies and pastes, the macro recorder records that. The macro recorder functionality is also a good assistant for learning VBA code. Once you’ve recorded your macro you can access it via the developer tab, or allow the user to have a button that once clicked, runs the macro.
So why start learning about macros, well it helps with learning programming concepts in addition to increasing your functionality in Excel and Office. The button click event for example, and how it works, can be demonstrated and quickly conceptualized with a macro. In Excel, one can also access worksheet functions and use standard worksheet functions such as VLOOKUP, in VBA.
Also once you get started, you’ll want to learn more, so you can take your VBA programming from beginner to advanced and become a superuser and programmer all at once. So, in order to help you get started with macros, we have put together a list of helpful books. What if you already know a bit of VBA and want to extend your knowledge, well we didn’t forget you either and we have listed books specifically for the advanced VBA users as well.
Here I’m listing the best books that you can start with your Excel VBA mastering journey.
Best Excel VBA learning books for beginners
- Excel 2013 Power Programming with VBA by John Walkenbach (the best one to start with)
- Excel 2016 Power Programming with VBA (Mr. Spreadsheet’s Bookshelf) by Michael Alexander, Richard Kusleika
- Excel 2010 Power Programming with VBA by John Walkenbach
Best VBA books for Professional Development
- Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel, VBA, and .NET (2nd Edition) by Rob Bovey, Dennis Wallentin, Stephen Bullen, John Green
- 101 Ready-To-Use Excel Macros by Michael Alexander
VBA for Modelers
- VBA for Modelers: Developing Decision Support Systems with Microsoft Office Excel by S. Christian Albright
This list will make you a professional VBA use from a stage where you know nothing.
Share your opinion in the comment box.
- 22 Macro Examples in Excel VBA
- What You Can Do with VBA (6 Practical Uses)
- Learn Excel VBA Programming & Macros (Free Tutorial – Step by Step)
- Excel VBA to Populate Array with Cell Values (4 Suitable Examples)
- Best 39 Excel Book for Advanced Users [Ultimate Resource]
- How Different Is VBA from Other Programming Languages