Sie sind auf Seite 1von 25

Chapter 23

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

Signature: Microsoft Word 2003

BACK

NEXT

END

FORMATTING WITH MACROS


Copyright 2003, Paradigm Publishing Inc.

23-2

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

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

BACK

NEXT

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

running
applies the macro formatting

BACK

NEXT

END

23-4
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
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
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/2

Macro Record Toolbar

Stop Recording Pause Recording

BACK

NEXT

END

Perform the actions to be recorded and then click the Stop Recording button.
Copyright 2003, Paradigm Publishing Inc.

23-6

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

Running a Macro
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

Pausing and Resuming a Macro


temporarily suspends recording - can perform actions that are not recorded
click Pause Recording button

BACK

NEXT

END

button changes to Resume Recorder button

23-8
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

Deleting a Macro
Tools, Macro, Macros
select macro

click

BACK

NEXT

END

23-9
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 a Keyboard Command


Tools, Macro, Record New Macro

enter a letter plus either Alt + Ctrl Ctrl + Shift Alt + Shift
BACK NEXT END

some combinations already used


Copyright 2003, Paradigm Publishing Inc.

23-10

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


Tools, Macro, Record New Macro

drag to a position on the desired toolbar


BACK NEXT END

23-11

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
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/2
Save Normal button
edit the macro in this window

BACK

NEXT

END

Click File, Close and Return to Microsoft Word when finished.


Copyright 2003, Paradigm Publishing Inc.

23-15

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

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

BACK

NEXT

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

Copying and Renaming a Macro Project


Tools, Macro, Macros
select macro click

BACK

NEXT

END

23-17
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

Copying and Renaming a Macro Project/2

click Macro click

BACK

NEXT

END

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

Commands Review
How do you display the Macros dialog box?
Tools, Macro, Macros

BACK

NEXT

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

Commands Review
How do you display the Record Macro dialog box?
Tools, Macro, Record New Macro OR double-click REC button on Status bar

BACK

NEXT

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

Commands Review
How do you display the Customize dialog box?
Tools, Customize

BACK

NEXT

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

Commands Review
How do you display the Field dialog box?
while recording, click Insert, Field

BACK

NEXT

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
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

Coming Next

BACK

NEXT

END

MANAGING DOCUMENTS
Copyright 2003, Paradigm Publishing Inc.

23-25

Das könnte Ihnen auch gefallen