31
Customizing Word Customizing Word Microsoft Office Word 2007 Microsoft Office Word 2007 Illustrated Complete Illustrated Complete

Customizing Word Microsoft Office Word 2007 Illustrated Complete

  • View
    220

  • Download
    2

Embed Size (px)

Citation preview

Customizing WordCustomizing Word

Microsoft Office Word 2007Microsoft Office Word 2007Illustrated CompleteIllustrated Complete

2Microsoft Office Word 2007 Illustrated Complete

• Plan a macro

• Create a macro

• Record macro steps

• Run a macro

ObjectivesObjectives

3Microsoft Office Word 2007 Illustrated Complete

• Edit a macro in Visual Basic

• Create the Quick Access toolbar

• Modify options

• Use the Document Inspector

ObjectivesObjectives

4Microsoft Office Word 2007 Illustrated Complete

Plan a Macro

• Automate repeated tasks by using macros• A macro is a series of Word commands

and instructions that you group together as a single command to accomplish a task automatically

5Microsoft Office Word 2007 Illustrated Complete

Planning a Macro

• Macro tasks: • Determine the tasks you want the macro to

complete

• Macro steps: • Include the correct steps to perform the task

• Macro information: • Determine the information related to the

macro

• Record macro procedure: • Use the Record Macro dialog box to record

the macro

6Microsoft Office Word 2007 Illustrated Complete

Planning a Macro

Enter a new name for the macro or accept the name assigned

By default, store macros in the Normal template

Assign a macro to a button or a keyboard shortcut before you record the macro or from the Word Options dialog box after you create the macro

7Microsoft Office Word 2007 Illustrated Complete

Planning a Macro

• Macros button in the Code group on the Developer tab

Pause Recording button

Stop Recording button

Developer tab is active

8Microsoft Office Word 2007 Illustrated Complete

Creating a Macro

• Create a macro by using the macro recorder or by entering codes into the Visual Basic Editor• For most routine macros, use the

macro recorder• Records each step you perform as a

sequence of Visual Basic codes

• For complex macros, use the Visual Basic Editor

9Microsoft Office Word 2007 Illustrated Complete

Creating a Macro

• Description entered in the Record Macro dialog box

10Microsoft Office Word 2007 Illustrated Complete

Creating a Macro

• Macro recorder

Macro Recorder icon shows that all steps you perform will be recorded as part of the macro

11Microsoft Office Word 2007 Illustrated Complete

Recording Macro Steps

• Once you have created a macro, you need to record the macro steps

• The macro recorder actually records each step you perform as a sequence of Visual Basic codes• Can use the mouse to click commands

and options• Must use the keyboard to select text

12Microsoft Office Word 2007 Illustrated Complete

Recording Macro Steps

• Fill-in field selected

Fill-in selected in the list of Field names

13Microsoft Office Word 2007 Illustrated Complete

Running a Macro

• When you run a macro, the steps you recorded are performed• Run a macro in three different ways:

• Select the macro by name in the Macro dialog box, then click Run

• Click a button on the Quick Access toolbar if you have assigned the macro to the Quick Access toolbar

• Press a keystroke combination if you have assigned shortcut keys to the macro

14Microsoft Office Word 2007 Illustrated Complete

Running a Macro

• Selecting the FormatJournals macro

Macro selected

Customize button

15Microsoft Office Word 2007 Illustrated Complete

Editing a Macro in Visual Basic

• Make changes to a macro in two ways:• Delete the macro and record the steps

again• Edit the macro in the Microsoft Visual

Basic window• Use when the changes you need to make

are minor

16Microsoft Office Word 2007 Illustrated Complete

Editing a Macro in Visual Basic

View MS Word button

Save Normal button

Code to save the active document

Code to close the active document

17Microsoft Office Word 2007 Illustrated Complete

Editing a Macro in Visual Basic

• Locating Visual Basic codes• Find the correct code by searching

Microsoft Visual Basic Help:• Click the Microsoft Visual Basic Help

button on the Standard toolbar I the Microsoft Visual Basic window

• Select links from the table of contents or use the Search feature

• Paste new code above the “End Sub” code

18Microsoft Office Word 2007 Illustrated Complete

Customizing the Quick Access Toolbar

• Create a custom toolbar that contains only the buttons you want to perform specific tasks• Can include buttons to perform macros

19Microsoft Office Word 2007 Illustrated Complete

Customizing the Quick Access Toolbar

Macros selected in the list of commands

Spelling & Grammar button and Page Borders button already added

Add button

20Microsoft Office Word 2007 Illustrated Complete

Modifying Options

• Default settings are designed to meet the needs of most users

• To change default settings:• Click the Office button• Click the Word Options buttons• Select a category:

• Popular, Display, Proofing, Save, Advanced, Customize, Add-ins, Trust Center, Resources

21Microsoft Office Word 2007 Illustrated Complete

Modifying Options

• Spelling options modified

Ignore word in UPPERCASE check box deselected

Show readability statistics check box selected

22Microsoft Office Word 2007 Illustrated Complete

Using the Document Inspector

• Use the Document Inspector to check that a document does not contain any• Hidden text• Personal information• Comments that you do not want other

users to see

23Microsoft Office Word 2007 Illustrated Complete

Using the Document Inspector

• Document Inspector inspection results

24Microsoft Office Word 2007 Illustrated Complete

Using the Document Inspector

• Use the Compatibility Checker to determine which elements of Word 2007 documents will not be saved or would be altered if saved in a previous version of Word

Using the Document InspectorUsing the Document Inspector

• Compatibility ResultsCompatibility Results

25Microsoft Office Word 2007 Illustrated Complete

26Microsoft Office Word 2007 Illustrated Complete

Summary

• Planning a macro• Determine tasks you want the macro to

accomplish• Include the correct steps to perform the

task

• Creating a macro• Use the macro recorder, or• Enter codes into the Visual Basic Editor

27Microsoft Office Word 2007 Illustrated Complete

Summary

• Recording Macro Steps• The macro recorder actually records

each step you perform as a sequence of Visual Basic codes

• Can use mouse to click commands and options

• Must use keyboard to select text

28Microsoft Office Word 2007 Illustrated Complete

Summary

• Running a Macro• When you run a macro, the steps you

recorded are performed• Run a macro in three different ways

• Select by name in the Macro dialog box• Click a button you assign to the Quick

Access toolbar • Press a keystroke combination you specify

29Microsoft Office Word 2007 Illustrated Complete

Summary

• Editing a Macro in Visual Basic• You can delete the macro and record

the steps again, or• You can edit the macro in the Microsoft

Visual Basic window

• Customizing the Quick Access Toolbar• Customize to contain buttons you want

to use to perform specific tasks

30Microsoft Office Word 2007 Illustrated Complete

Summary

• Modifying Options• Default settings are designed to meet

the needs of most users• Change default settings by Word

Options from the Office menu:• Click the Office button• Click Word Options• Select an option category

31Microsoft Office Word 2007 Illustrated Complete

Summary

• Using the Document Inspector• Check that a document does not

contain any hidden text, personal information, or comments that you do not want others to see

• Compatibility Checker determines which elements in a Word 2007 will not be compatible with a previous version of Word