1128
Chapter 41 Using Macros to Automate Office Tasks
at a specific time. Your macros can even take over built-in Office functions such as printing.
For example, if you want to track printer usage in your office, create a macro that counts the
number of pages in a document or worksheet, adds a new row to an Excel list with the user’s
name, the date and time, and the number of pages, and then sends the job to the printer.
➔ For details on how to get your macros kick-started, see “Controlling How VBA Applications Start,”
p. 1156.
Macro Security
Macros can save time and energy, but an ill-conceived macro can (intentionally or uninten-
tionally) destroy data ...