Sessão 13 - Macros

download Sessão 13 - Macros

of 25

Transcript of Sessão 13 - Macros

  • 8/3/2019 Sesso 13 - Macros

    1/25

    Chapter 23

  • 8/3/2019 Sesso 13 - Macros

    2/25

    Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

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

    FORMATTING WITH

    MACROS

    Signature: Microsoft Word 2003

  • 8/3/2019 Sesso 13 - Macros

    3/25

    Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-3

    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

  • 8/3/2019 Sesso 13 - Macros

    4/25

    Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-4

    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 tomake a large programming job easier and

    save time.

    two basic stepsrecording running

    all keys pressed andmenus and dialog boxesdisplayed become part of

    macro

    applies the macroformatting

  • 8/3/2019 Sesso 13 - Macros

    5/25

    Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-5

    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

    OR

    type a name

    type a description

    specify where to store

    click

    Tools, Macro, Record New Macrodouble-click REC button on Status bar

  • 8/3/2019 Sesso 13 - Macros

    6/25

    Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-6

    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

    Perform the actions to be recorded andthen click the Stop Recording button.

  • 8/3/2019 Sesso 13 - Macros

    7/25

  • 8/3/2019 Sesso 13 - Macros

    8/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-8

    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 Recordingbutton

    button changesto Resume Recorder

    button

  • 8/3/2019 Sesso 13 - Macros

    9/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-9

    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

    selectmacro

    click

  • 8/3/2019 Sesso 13 - Macros

    10/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-10

    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

    enter a letter plus either

    Alt + CtrlCtrl + ShiftAlt + Shift

    Tools, Macro, Record New Macro

    some combinations already used

  • 8/3/2019 Sesso 13 - Macros

    11/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-11

    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

    drag to a positionon the desired toolbar

    Tools, Macro, Record New Macro

    remove from toolbar by dragging button offtoolbar when Customize dialog box is open

  • 8/3/2019 Sesso 13 - Macros

    12/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-12

    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

    scroll down andclick Macros to

    display commands

    Tools, Customize

    An existing macro can also be assigned to atoolbar.

  • 8/3/2019 Sesso 13 - Macros

    13/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-13

    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

    scroll down

    and click

    typedesiredprompt

    message

  • 8/3/2019 Sesso 13 - Macros

    14/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-14

    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 andcan be edited using the Visual Basic Editor.

    Tools, Macro, Macros

    selectmacro

    click

  • 8/3/2019 Sesso 13 - Macros

    15/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-15

    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

    edit the macroin this window

    Save Normalbutton

    Click File, Close and Return toMicrosoft Word when finished.

  • 8/3/2019 Sesso 13 - Macros

    16/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-16

    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

  • 8/3/2019 Sesso 13 - Macros

    17/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-17

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

    click

  • 8/3/2019 Sesso 13 - Macros

    18/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-18

    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

    when it is copied, it can be renamed

  • 8/3/2019 Sesso 13 - Macros

    19/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-19

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

    Tools, Macro, Macros

  • 8/3/2019 Sesso 13 - Macros

    20/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-20

    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 Macrodialog box?

    ORTools, Macro, Record New Macro

    double-click REC button on Status bar

  • 8/3/2019 Sesso 13 - Macros

    21/25Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-21

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

    Tools, Customize

  • 8/3/2019 Sesso 13 - Macros

    22/25

    Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-22

    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

  • 8/3/2019 Sesso 13 - Macros

    23/25

    Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-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 BasicEditor?

    Tools, Macro, Macros

    selectmacro

    click

  • 8/3/2019 Sesso 13 - Macros

    24/25

    Copyright 2003, Paradigm Publishing Inc.

    CHAPTER

    23

    BACK NEXT END

    23-24

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

    Tools, Macro, Macros

    selectmacro

    click

  • 8/3/2019 Sesso 13 - Macros

    25/25

    CHAPTER

    23

    BACK NEXT END

    23-25

    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

    MANAGING DOCUMENTS