Word Lesson 8 Demo
Word Lesson 8 Demo
Word Lesson 8 Demo
Microsoft Office
Word 2013 Core
Lesson 8: Using
Word 2013 Core Productivity Tools
Courseware # 3250
Microsoft Office
Word 2013 Core
Lesson Objectives
• customize the Quick Access • create, edit and manage
Toolbar or the Ribbon macros
• create and edit building • add or remove macros to
blocks the Quick Access Toolbar
• use the Building Blocks or the Ribbon
Organizer
Understanding Macros
• Recorded series of commands and actions grouped
together and saved as named Visual Basic module
• Can be short and simple entries to very elaborate chains
• Use Quick Parts to insert formatted text and graphics,
whereas use macros to record repetitive actions
• Make macros available to all documents, or only to
documents created from specific templates
• Also known as “scripts” as actions in macro are
commands that are followed in sequence from first to
last, like script
Understanding Macros
• Recording Macros
– Records all steps necessary to accomplish task and when
run, recorded steps executed in same order as recorded
– Can pause while recording macro
– Before recording macro:
• Plan and anticipate steps for task
• If macro complex, write down steps before recording
• Simplify macro by thinking ahead to avoid unnecessary steps
– May be easier to create several macros, each accomplishing part of
complex task
Understanding Macros
• If macro to be available to all documents, save in Normal
template
• Can be created using Microsoft Visual Basic
– Programming language for creating diverse and complex
macros
• View and record macros by clicking Macros in Macros
group of View tab
• To work with macros in depth, display Developer tab
– Click File, click Options, click Customize
Ribbon and then in Main Tabs list box,
click check box for Developer tab
Understanding Macros
• To record macro:
– Click Developer tab, in Code group, click Record Macro,
or
– click View tab and in Macros group, click arrow for Macros
and click Record Macro, or
– double-click in status bar
Understanding Macros
Understanding Macros
• If assign macro to button, click Button:
Understanding Macros
• To assign to keyboard shortcut:
Understanding Macros
• Once record mode active, mouse cursor changes to
– Every keystroke you type or press, and every option you
click, is now recorded into macro
• When finished recording steps for macro, stop record
mode:
– On Developer tab, in Code group, click Stop Recording,
or
– click in status bar
Understanding Macros
• Running Macros
– Can run macro from Macros dialog box or pressing
shortcut key assigned
– To run or play macro:
• On Developer tab, in Code
group, click Macros, or
• press ALT+F8
Understanding Macros
Macro name Displays name of currently selected macro. If no
macros defined, field is blank. To create new macro
using Visual Basic Editor, type name for new macro,
and click Create.
Macro list Lists macros available for current document. If no
macros defined, list is empty.
Macros in Lists available templates and documents that contain
macros. When creating new macro, choose location
where to store new macro.
Description Displays description for currently selected macro.
Run Runs selected macro.
Understanding Macros
Step Into Opens Visual Basic Editor and steps through each line of
code to view effect of each step in macro.
Edit Opens selected macro in Code window of Visual Basic
Editor.
Create Opens module in Code window to create new macro.
Delete Removes selected macro.
Organizer Opens Organizer dialog box where you can copy macros
from one document or template to another, and delete
or rename macros.
Understanding Macros
• Hint: If you assigned a macro to a button or keyboard
shortcut, you can also click the button or press the
keyboard shortcut to run the macro.
• To assign a keyboard shortcut to an existing macro, or to
change an existing assignment, you must access the
Customize Ribbon feature in Word Options.
• To keep macros easy to manage, consider deleting
macros you no longer need.
Understanding Macros
• Editing Macros
– To edit macro: either record macro again or open Visual
Basic Editor to edit code
Macro projects
available
Understanding Macros
• In code window, move to where changes to be made
and to:
– Delete text: select text and press DELETE
– Insert line of code: move cursor to beginning of line where
to insert new line of text and press ENTER
– Indent line of code: press TAB
– Enter code: begin typing. If drop-down list appears, move
through list to select code
– Turn line of code into comment: type single apostrophe at
beginning of line
Understanding Macros
– To save changes:
• Click File and click Save Normal, or
• click (Save Normal) in Visual Basic toolbar, or
• press CTRL+S
Understanding Macros
• Configuring Security for Macros
– To change security level:
• Click Developer tab, in Code group, click Macro Security, or
• click File, click Options, click Trust Center, click Trust Center
Settings, and click Macro Settings
Understanding Macros
Disable all macros All macros disabled with no notification via security alert.
without notification
Disable all macros with All macros disabled, but security alerts appear if macros
notification present in document.
Disable all macros Allows only macros that include digital signature to run, and
except digitally signed then, only if publisher is listed in list of Trusted Publishers.
macros
Enable all macros (not All macros allowed to run; not recommended because it
recommended, makes computer vulnerable to any potentially malicious code
potentially dangerous hidden in macro.
code can run)
Trust access to the VBA Allowing Visual Basic for Applications (VBA) code to read and
project object model possibly insert new code into an existing VBA module.
Understanding Macros
• Always maintain sufficient security level for macro-
enabled documents and exercise caution when enabling
content
• Disable all macros with notification displays warning
when you open document that contains macros
Lesson Summary
• customize the Quick Access Toolbar or the Ribbon
• create and edit building blocks
• use the Building Blocks Organizer
• create, edit and manage macros
• add or remove macros to the Quick Access Toolbar or the
Ribbon
Review Questions
1. What is the difference between the commands that display
the drop-down menu for the Customize Quick Access
Toolbar button versus the commands that display on the
Customize Quick Access Toolbar screen within the Word
Options dialog box?
2. What is the purpose of the checkbox at the left of each
ribbon tab name in the Customize Ribbon screen of the
Word Options dialog box?
3. What could you do if you wanted to access those
commands you frequently use on the various ribbon tabs
from one location?
4. Explain what a Quick Part is.
Review Questions
5. What is the purpose of the Building Blocks Organizer?