Читать книгу Excel VBA Programming For Dummies - Dick Kusleika - Страница 14

Knowing What VBA Can Do

Оглавление

You’re probably aware that people use Excel for thousands of different tasks. Here are just a few examples:

 Analyzing scientific data

 Budgeting and forecasting

 Creating invoices and other forms

 Building charts from data

 Keeping lists of things such as customers’ names, students’ grades, or holiday gift ideas (a nice fruitcake would be lovely)

The list could go on and on, but you get the idea. The point is simply that Excel is used for a wide variety of tasks, and everyone reading this book has different needs and expectations regarding Excel. One thing virtually every reader has in common is the need to automate some aspect of Excel. That, dear reader, is what VBA is all about.

For example, you might create a VBA program to import some numbers and then format and print your month-end sales report. After writing and testing the program, you can execute the macro with a single command, causing Excel to automatically perform many time-consuming procedures. Rather than struggle through a tedious sequence of commands, you can simply click a button and then hop on over to TikTok and kill some time while your macro does the work.

The following sections briefly describe some common uses for VBA macros. One or two of these may push your button.

Excel VBA Programming For Dummies

Подняться наверх