Chapter 29: Frequently Asked Questions about Excel Programming

In This Chapter

• Understanding Excel quirks

• Exploring FAQs about Excel programming

• Getting VBE help

Getting the Scoop on FAQs

People tend to ask the same questions about Excel programming (and related topics), so I put together a list of frequently asked questions (FAQs).

Although this FAQ list won't answer all your questions, it covers many common questions and might set you straight about a thing or two.

I organized this list of questions by assigning each question to one of these categories:

• General Excel questions

• Visual Basic Editor (VBE)

Sub procedures

Function procedures

• Objects, properties, methods, and events

• Security-related issues

• UserForms

• Add-ins

• Excel user interface modification

In some cases, my classifications are arbitrary; a question could justifiably be assigned to other categories. Moreover, questions within each category are listed in no particular order.

By the way, most of the information in this chapter is discussed in greater detail in other chapters in this book.

General Excel Questions

How do I record a macro?

Click the little square icon in the left side of the status bar, at the bottom of Excel's window.

How do I run a macro?

Choose View⇒Macros⇒Macros (or press Alt+F8). Or choose Developer⇒Code⇒Macros. The Macros dialog box will display a list of all available macros.

What do I do if I don't have a Developer tab?

Right-click anywhere in the Ribbon and choose Customize ...

Get Excel 2013 Power Programming with VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.