Signature_Word_Chapter_23

advertisement
Chapter 23
CHAPTER
23
Signature: Microsoft Word 2003
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
END
FORMATTING WITH
MACROS
23-2
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
Performance Objectives
•
•
•
•
Record, run, pause, and delete macros
Assign a macro to a keyboard command
Assign a macro to a toolbar
Record and run a macro with Fill-in
fields
• Edit a macro using the Visual Basic
Editor
• Copy and rename a macro project
END
23-3
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Macro Concepts
Macro = collection of commands used to
make a large programming job easier and
save time.
two basic steps
recording
all keys pressed and
menus and dialog boxes
displayed become part of
macro
BACK
NEXT
END
23-4
Copyright 2003, Paradigm Publishing Inc.
running
applies the macro
formatting
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Recording a Macro
Tools, Macro, Record New Macro OR
double-click REC button on Status bar
type a name
specify where to store
type a description
click
BACK
NEXT
END
23-5
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
Recording a Macro…/2
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Macro Record Toolbar
Stop Recording Pause Recording
BACK
NEXT
END
Perform the actions to be recorded and
then click the Stop Recording button.
23-6
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
Running a Macro
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Tools, Macro, Macros
click
select
macro
BACK
NEXT
END
23-7
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
END
Pausing and Resuming a Macro
temporarily suspends recording
- can perform actions that are not recorded
click
Pause Recording
button
button changes
to Resume Recorder
button
23-8
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
Deleting a Macro
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
Tools, Macro, Macros
select
macro
click
END
23-9
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
Assigning a Macro a Keyboard Command
Tools, Macro, Record New Macro
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
enter a letter plus either
Alt + Ctrl
Ctrl + Shift
Alt + Shift
BACK
NEXT
END
some combinations already used
23-10
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
Assigning a Macro to the Toolbar
Tools, Macro, Record New Macro
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
drag to a position
on the desired toolbar
BACK
NEXT
23-11
END
remove from toolbar by dragging button off
toolbar when Customize dialog box is open
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Assigning a Macro to the Toolbar…/2
An existing macro can also be assigned to a
toolbar.
Tools, Customize
scroll down and
click Macros to
display commands
BACK
NEXT
END
23-12
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Recording a Macro with Fill-In Fields
while recording, click Insert, Field
type
desired
prompt
message
scroll down
and click
BACK
NEXT
END
23-13
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Editing a Macro
A macro is created with Visual Basic and
can be edited using the Visual Basic Editor.
Tools, Macro, Macros
select
macro
click
BACK
NEXT
END
23-14
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
Editing a Macro…/2
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
END
Save Normal
button
edit the macro
in this window
Click File, Close and Return to
Microsoft Word when finished.
23-15
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
Organizing Macros
• Macros are inserted in the Normal
template by default
– stored in a macro project named
NewMacros
– macro project is a collection of macros
stored in a document or template
– can be copied and renamed at the
Organizer dialog box
END
23-16
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
Copying and Renaming a Macro Project
Tools, Macro, Macros
select
macro
click
END
23-17
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
Copying and Renaming a Macro Project…/2
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
END
click Macro
click
when it is copied, it can be renamed
23-18
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
Commands Review
How do you display the Macros dialog
box?
Tools, Macro, Macros
END
23-19
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
Commands Review
How do you display the Record Macro
dialog box?
Tools, Macro, Record New Macro OR
double-click REC button on Status bar
END
23-20
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
Commands Review
How do you display the Customize dialog
box?
Tools, Customize
END
23-21
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
Commands Review
How do you display the Field dialog box?
while recording, click Insert, Field
END
23-22
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Commands Review
How do you display the Visual Basic
Editor?
Tools, Macro, Macros
select
macro
click
BACK
NEXT
END
23-23
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
Commands Review
How do you display the Organizer dialog
box?
Tools, Macro, Macros
select
macro
click
BACK
NEXT
END
23-24
Copyright 2003, Paradigm Publishing Inc.
CHAPTER
23
Coming Next
LINKS TO
OBJECTIVES
• Record, Run, Pause,
and Delete Macros
• Assign to a
Keyboard Command
• Assign to a Toolbar
• Fill-in Fields
• Visual Basic Editor
• Copy and Rename a
Macro Project
• Commands Review
BACK
NEXT
END
MANAGING DOCUMENTS
23-25
Copyright 2003, Paradigm Publishing Inc.
Download