Skip to main content



Excel 2013 Power Programming with VBA

John Walkenbach

ISBN: 978-1-118-49039-6 April 2013 1104 Pages


Maximize your Excel 2013 experience using VBA application development

The new Excel 2013 boasts updated features, enhanced power, and new capabilities. Naturally, that means John Walkenbach returns with a new edition of his bestselling VBA Programming book and covers all the methods and tools you need to know in order to program with Excel. With this comprehensive guide, "Mr. Spreadsheet" shows you how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf.

Featuring a complete introduction to Visual Basic for Applications and fully updated for the latest features of Excel 2013, this essential reference includes an analysis of Excel application development and is packed with procedures, tips, and ideas for expanding Excel's capabilities with VBA.

  • Offers an analysis of Excel application development and a complete introduction to VBA
  • Features invaluable advice from "Mr. Spreadsheet" himself, bestselling author John Walkenbach, who demonstrates all the techniques you need to create Excel applications, both large and small
  • Covers navigating the Excel interface, formatting worksheets, interacting with other Office applications, working with collaboration tools, and using sample workbooks and John Walkenbach's award-winning Power Utility Pak to help enhance your Excel skills
  • Provides tips, tricks, and techniques for expanding Excel's capabilities with VBA that you wont find anywhere else

Excel 2013 Power Programming with VBA is packed with procedures, tips, and ideas for achieving Excel excellence with VBA.

Introduction 1

Part I: Some Essential Background

Chapter 1: Excel in a Nutshell 11

Chapter 2: Formula Tricks and Techniques 39

Chapter 3: Understanding Excel Files 75

Chapter 4: Essentials of Spreadsheet Application Development 97

Part II: Understanding Visual Basic for Applications

Chapter 5: Introducing Visual Basic for Applications 119

Chapter 6: VBA Programming Fundamentals 177

Chapter 7: Working with VBA Sub Procedures 227

Chapter 8: Creating Function Procedures 269

Chapter 9: VBA Programming Examples and Techniques 317

Part III: Working with UserForms

Chapter 10: Custom Dialog Box Alternatives 395

Chapter 11: Introducing UserForms 417

Chapter 12: UserForm Examples 453

Chapter 13: Advanced UserForm Techniques 491

Part IV: Advanced Programming Techniques

Chapter 14: Developing Excel Utilities with VBA 543

Chapter 15: Working with Pivot Tables 565

Chapter 16: Working with Charts 583

Chapter 17: Understanding Excel’s Events 645

Chapter 18: Interacting with Other Applications 685

Chapter 19: Creating and Using Add-Ins 711

Part V: Developing Applications

Chapter 20: Working with the Ribbon 743

Chapter 21: Working with Shortcut Menus 779

Chapter 22: Providing Help for Your Applications 801

Chapter 23: Developing User-Oriented Applications 821

Part VI: Other Topics

Chapter 24: Compatibility Issues 837

Chapter 25: Manipulating Files with VBA 851

Chapter 26: Manipulating Visual Basic Components 885

Chapter 27: Understanding Class Modules 911

Chapter 28: Working with Colors 927

Chapter 29: Frequently Asked Questions about Excel Programming 953

Part VII: Appendixes

Appendix A: VBA Statements and Functions Reference 989

Appendix B: VBA Error Codes 999

Appendix C: This Book’s Website 1003

Index 1019

Sample files
The files are organized by Chapter within the zip file.