O'Reilly logo

Excel 2019 All-in-One For Dummies by Greg Harvey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2

VBA Programming

IN THIS CHAPTER

check Getting familiar with Visual Basic for Applications and the Visual Basic Editor

check Editing a macro in the Visual Basic Editor

check Creating a dialog box that prompts you for input for your macro

check Writing new macros in the Visual Basic Editor

check Using VBA to create user-defined functions

check Using your user-defined functions in your spreadsheets

check Saving user-defined functions as Excel Add-ins

The subject of this chapter is Visual Basic for Applications (usually known simply as VBA), which is the official programming language of Excel, and how you can use it to edit the macros that you record (as described in Book 8, Chapter 1) as well as to write new macros. The key to editing and writing macros in VBA is its editing program, the Visual Basic Editor (often abbreviated ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required