Wiley Word 2010 All-in-One For Dummies 978-0-470-48766-2 ユーザーズマニュアル

製品コード
978-0-470-48766-2
ページ / 12
Chapter 1: Recording and 
Using Macros
In This Chapter
✓ 
Recording a macro
✓ 
Running a macro
✓ 
Editing a macro
✓ 
Using auto macros
A
macro is a sequence of commands or keystrokes that Word records 
and lets you play back at any time. Macros allow you to create your 
own customized shortcuts for tasks you do repeatedly. For example, Word 
comes with built-in keyboard shortcuts to make text bold (Ctrl+B) or italic 
(Ctrl+I), but no built-in shortcut exists to make text bold and italic all at the 
same time. To perform that formatting task, you have to press Ctrl+B and 
then press Ctrl+I. If you do that a million times a day, pretty soon that extra 
keystroke becomes bothersome. Wouldn’t having a shortcut for bold-italic 
be nice? With Word’s macro recorder, you can create one.
This chapter shows you how to record and play back simple macros. It 
doesn’t show you how to create complex macros by using Word’s macro 
programming language, Visual Basic for Applications. That’s the topic of the 
remaining chapters in this minibook.
Where Do All the Macros Go?
You can store macros in documents or in templates. When you create a 
macro, you have three choices for where to store the macro:
 ✦ 
The current document: The best place to create macros that you will 
use in only a single document.
 ✦ 
The template that’s attached to the current document if it’s macro-
enabled:
 The best place to create macros that you want to use in a 
large number of similar documents. Then the macros are available to 
any document you create from the template.
 ✦ 
The Normal.dotm template: The place to create macros that you want 
to be available all the time, no matter which document you’re working on.
50_487662-bk09ch01.indd   527
50_487662-bk09ch01.indd   527
4/15/10   9:18 PM
4/15/10   9:18 PM
COPYRIGHTED MATERIAL