microsoft word macro l owering the macro security setting 1. open microsoft word. 2. click tools, macro, securit

Microsoft Word Macro
L owering the Macro Security Setting
1.
Open Microsoft Word.
2.
Click Tools, Macro, Security.
3.
A Security box opens, as shown to the right on this page. Click
the Medium button, and click the OK button. This step is necessary
to allow Word macros to run.
4.
Close Word. Start Word again. This ensures that the security
setting takes effect.

Recording a Macro
5.
Click Tools, Macro, Record New Macro.
6.
A Record Macro box opens, as shown to the right on this page. In
the Macro name box, enter your first name (do not use any spaces).
In the Store macro in: drop-down list box, select Document1. Then
click OK.

7.
Your blank Word document is visible again. Type in Hello, World!
and then press the Enter key a few times. Then click the Stop
Recording button, as shown to the right on this page.
Viewing a Macro
8.
C lick Tools, Macro, Macros.
9.
A Macros box opens. Click on your name and click the Edit button.
10.
A Document1 – NewMacros window opens as shown to the right
on this page. There are several lines of text in this window
starting with a Sub statement and ending with an End Sub
statement. This is a Visual Basic Program. The Sub and End Sub
statements indicate the start and end of this program, also called
a Subroutine or a Macro.
11.
Notice the lines of green text starting with apostrophes. These
are Comments – they have no effect on the operation of the
program. They are just there to help the programmer stay
organized.
12.
The Selection commands do the actual work in this macro – they
type text on the screen. There are two types of Selection commands
used here:
*
Selection.TypeText – types in letters, as if you had typed them on
the keyboard
*
Selection.TypeParagraph – starts a new paragraph, as if you had
pressed the Enter key
R unning a Macro
13.
C lick the red X at the upper right of the Microsoft
Visual Basic – Document1 window. The Visual Basic Program vanishes
and your Word document appears again.
14.
Click Tools, Macro, Macros. In the Macros box, click on your name,
and click the Run button.
15.
The macro runs, typing in another Hello, World! into your Word
document, as shown to the right on this page.
Editing a Macro
16.
C lick Tools, Macro, Macros.
17.
A Macros box opens. Click on your name and click the Edit button.
18.
A Document1 – NewMacros window opens. Find the line that
has “Hello, World!” in it, and change that text to “Hello, I am a
modified macro.” as shown to the right on this page. Be careful
not to erase the quotation mark.
Running the Modified Macro
19.
Click the red X at the upper right of the Microsoft Visual Basic –
Document1 window. The Visual Basic Program vanishes and your Word
document appears again.
20.
C lick Tools, Macro, Macros. In the Macros box, click on
your name, and click the Run button.
21.
The macro runs, typing in Hello, I am a modified macro. into your
Word document, as shown to the right on this page.
C reating Your Own Modified Macro
22.
Edit the macro again, to produce the output shown to the right on
this page.
23.
Save the Word document on a floppy disk with any name you choose.
Give the floppy to the Results Presenter.
Last modified 3-6-06
CNIT 100 – Bowne Page 3 of 3

  • LISTADO DE ALUMNOS MATRICULADOS EN LA ACCIÓN FORMATIVA MANEJO
  • RECORD OF NIGHT TIME BEHAVIOUR NAME DOB NHS NO
  • A EXPANSION PROJECTS 2 X 1000 MW COASTAL
  • OPEN POST OFFENSE “DOUBLEUP” COACH’S CLIPBOARD HTTPWWWCOACHESCLIPBOARDNET CONTRIBUTED BY
  • SOLICITUD DE LA NORMATIVA APLICABLE EN MATERIA DE ENERGÍA
  • REGULAMIN PUNKTU SELEKTYWNEJ ZBIÓRKI ODPADÓW KOMUNALNYCH W PADWI NARODOWEJ
  • SCREENING FOR ANAEMIA AND IRON DEFICIENCY AT RISK OF
  • FORMULARIO PARA ENVÍO DE COMENTARIOS U OBSERVACIONES A DOCUMENTOS
  • CELEBRACIÓN DEL RECUERDO DEL BAUTISMO 1º PARTE
  • ZÁVAZNÁ PŘIHLÁŠKA DO KURZU FRANCOUZŠTINY SEMESTR OD 01102012 DO
  • LEGAL SPACE AND ITS INFLUENCE TO INDONESIAN WOMEN VICTIMS
  • PS12 AUTOMNE 2011 EXAMEN FINAL (2 HEURES DOCUMENTS
  • PROGRAMA LEY 26589 NUEVA LEY DE MEDIACIÓN CURSO DE
  • OBRAZAC MDDMF PRILOG 1 HRVATSKA AGENCIJA ZA NADZOR FINANCIJSKIH
  • KÜTAHYA SAĞLIK BİLİMLERİ ÜNİVERSİTESİ HAYVAN DENEYLERİ YEREL ETİK KURULU
  • FORMULARIO DE INSCRIPCIÓN PROGRAMA IMPULSA AGRO 20202021 CIUDAD REAL
  • PROTECTING VICTIMS OF ROAD ACCIDENTS ABROAD I SUMMARY THE
  • TIPS FOR MAGNETIZING YOUR COPY BY MICHEL FORTIN THE
  • SM 2006 C 13 THE FAMILY FARM PROTECTION AMENDMENT
  • THIS OFFICIAL FORM MUST NOT BE ALTERED ALL MODIFICATIONS
  • MENGHARAP TATA KEKUASAAN SIMPATIK MAULANA MUKHLIS DOSEN JURUSAN ILMU
  • NA OSNOVU ČLANKA 100 I ČLANKA 131 STAVAK 4
  • VERORDNUNG ÜBER DIE DURCHFÜHRUNG VON GÜTEPRÜFUNGEN FÜR MILCH UND
  • FCCLA CREED WE ARE THE FAMILY CAREER AND COMMUNITY
  • HONORABLE CÁMARA DE DIPUTADOS PROVINCIA DE CORRIENTES EXPTE 14774
  • THE GRAPHIC SHOWS THE TEXT OF AN ACT PASSED
  • VARWWWDOC4PDFCOMTEMP500201DOC ROMAN CERAMIC BUILDING MATERIAL FABRICS JULY 2007
  • EURITS METHODOLOGY FOR THE DETERMINATION OF TECHNICAL COINCINERATION CRITERIA
  • HASTA AYER DIANA WASSNER DE MALAMUD HASTA
  • EMPLOYEE HEALTH & WELLBEING UNIT LEADER MISSION ENSURE THE