Inserting content controls and creating macros

On the right Main Tabs that display on the ribbon are indicated with a checkmark. MAC TIP: Display the menu bar click Word click Preferences then click Ribbon & Toolbar. The Developer tab extends the capabilities of Word—including commands for inserting content controls and creating macros. Figure 7.3 Full Alternative Text Macro Settings display in the Trust Center dialog box. Your selected option may differ. Figure 7.4 Full Alternative Text Table 7.5 Macro Settings Setting Description Disable all macros without notification Macros will not run in a document and no notification message will display. Disable all macros with notification Macros will not run in a document but a notification message will display with an option to run macros. Disable all macros except digitally signed macros Macros that have a valid digital signature and have been confirmed by Microsoft will be allowed to run. Enable all macros All macros will run. This option is a high security risk. MAC TIP: On the menu bar click Word click Preferences click Security. By selecting this macro setting opening a document that has a macro attached causes a security warning to display and gives you the option to disable the macro. Each macro must be given a unique name. It is a good idea to name the macro with a descriptive name to help you recall the function of the macro. If you reuse a name the new macro will replace the original macro. Macro names cannot contain spaces; however you can use underscores to improve readability. By default the macro will be saved in the Normal macro-enabled template so that it can be used in other documents. Figure 7.6 You can assign a button or a shortcut key to a macro. By clicking the Keyboard icon you can assign a shortcut key that when pressed will cause the macro to run—also referred to as executing the macro. Alt+Ctrl+B displays in the Press new shortcut key box. If the shortcut key you choose is already in use you should select another combination so that the original shortcut is not replaced. If the combination of keys is already in use it will display next to Currently assigned to. Figure 7.7 Full Alternative Text Alt+Ctrl+B displays in the Current keys box. This keyboard sequence is assigned to the macro that is selected in the Commands box—your Footer macro. The macro name displays as Normal.NewMacros.Footer to indicate that the macro is user-created and stored in the Normal template. MAC TIP: The Current keys box indicates . Figure 7.8 The pointer indicates that you are now in recording mode. Any actions that you make will be recorded as part of the macro until you turn off the recording of the macro. Be sure to take your time as you perform each action so that extra steps are not recorded as part of the macro. Figure 7.9 All of the actions you performed in Steps 9 through 11 are recorded as part of the Footer macro. The same actions can be repeated by pressing . The macro runs—inserting your name in the footer. Close the blank document without saving changes and then Save your Student_Word_7A_Expo_Flyer document. MAC TIP: Under Assign macro to click Keyboard. In the Customize Keyboard dialog box with the insertion point in the Press new shortcut key box press and hold and then press the key. Option+Control+H displays in the box. Click Assign. Click OK move to Step 9 and remember this shortcut when you run the macro later in this project. Figure 7.10 Full Alternative Text Figure 7.11 Magical Park Career Expo 314 North Street Baltimore MD 21201 (410) 555-0090 When you are recording a macro you must use the keyboard to select text—you cannot drag. MAC TIP: With the insertion point to the right of the phone number hold down SHIFT and then click to the left of Magical to select all 4 lines. All of the text you typed and formatted is saved as part of the macro. Figure 7.12 AutoClose is a reserved word understood by Microsoft Word. When the term is used as a macro name the macro will automatically run when the document is closed. Therefore you do not need to assign a keystroke or button to the macro. Figure 7.13 Table 7.14 Automatic Macros Macro Description AutoExec Runs when Word starts. AutoOpen Runs each time a document is opened. AutoNew Runs each time a new document is created. AutoClose Runs each time a document is closed. AutoExit Runs whenever you exit Word. ALERT Should The Macro Be Saved In The Normal Template? Be careful to save this macro in your document rather than in the Normal.dotm template. If you save the macro in the Normal.dotm template on your computer the macro will run every time any document is closed. Any existing text is selected and then deleted. Because this macro will insert the current date and time whenever the document is closed you want to be sure that any existing content is deleted. Figure 7.15 Full Alternative Text When you close your document the AutoClose macro runs—inserting the current date and time in the header. Because this change is made while closing the document a Microsoft Word message box displays prompting you to save your changes. Figure 7.16 MAC TIP: Press . NOTE This is the file you will submit for grading. MAC TIP: Use the keyboard shortcut you created by pressing . If necessary format the heading as shown in the figure (bold 18 pt. font centered). The Heading macro is executed and the heading information is inserted in your document. Recall that although you created the Heading macro in your 7A_Expo_Flyer document the macro was saved in the Normal template on your system allowing it to be available to other documents. Figure 7.17 The Footer macro runs—inserting your name in the footer. The Visual Basic Editor displays the code associated with the Footer and Heading macros. A macro procedure—a block of programming code that performs one or more tasks—begins with the term Sub and ends with the term End Sub. The name following the word Sub indicates the name of the procedure. The description that you typed when you created the Heading macro displays as a comment. A comment is a line of text that is used solely for documentation—for example the name of the individual who wrote the macro or the purpose of the macro. A comment is preceded by a single quotation mark displays in green text and is ignored when the macro runs. Figure 7.18 Full Alternative Text ALERT Why Does My Visual Basic Editor Display Differently? Depending on how the Visual Basic Editor was last used different panes may be displayed. For purposes of this instruction the only panes that are required are the Project pane on the left and the Code pane on the right. You are editing the macro so that when it runs the full name of the organization displays. Figure 7.19 MAC TIP: Display the menu bar click Word click Close and Return to Microsoft Word. ANOTHER WAY At the top right of the Visual Basic Editor window click Close. The edited text displays in the heading. Figure 7.20 A list of available Word commands (macros) displays. The Description area explains what a selected command will do. The AdjustListIndents built-in macro modifies the indenting of a bulleted or numbered list. Figure 7.21 Full Alternative Text Because you cannot submit a macro-enabled document for grading you must re-save your document as a Word document for submission. Because you will not need the macros you created in the Normal template after completing this project you will delete them and restore the default settings you changed. MAC TIP: Click the minus (-) symbol to delete the macro. You are not deleting the AutoClose macro because it is stored only in the document. MAC TIP: To deselect the Developer tab display the menu bar click Word Preferences Ribbon & Toolbar and then clear the Developer check box. MAC TIP: It is not necessary to remove anything from the Quick Access Toolbar. Requirements: till complete | .doc file Navigate to your Word Chapter 7 folder and then double-click the Word file you downloaded from MyLab IT that displays your name—Student_Word_7A_Expo_Flyer. If necessary at the top click Enable Editing. From the File tab display the Save As dialog box. In the lower portion of the dialog box click the Save as type arrow and then on the list click Word Macro-Enabled Document. Compare your screen with Figure 7.2. Click Save. By saving your file as a macro-enabled document new macros and changes to existing macros are automatically saved. Click the File tab on the left click Options and then in the Word Options dialog box on the left click Customize Ribbon. On the right in the Main Tabs list locate and then select the Developer check box. Compare your screen with Figure 7.3. Click OK to close the Word Options dialog box. Notice that the Developer tab displays on the ribbon. Click the Developer tab and then in the Code group click Macro Security. Compare your screen with Figure 7.4 and then take a few moments to study the table in Figure 7.5 to examine macro security settings. In the Trust Center dialog box under Macro Settings if necessary click the Disable all macros with notification option button. Click OK to close the Trust Center dialog box. On the Developer tab in the Code group click Record Macro. In the Record Macro dialog box in the Macro name box type Footer Under Store macro in if necessary click the Store macro in arrow and select All Documents (Normal.dotm). In the Description box click to position the insertion point and then type Inserts the author’s name in a footer Compare your screen with Figure 7.6. Under Assign macro to click the Keyboard icon. In the Customize Keyboard dialog box with the insertion point in the Press new shortcut key box press and hold and and then press . In the lower left corner of the dialog box click Assign. Compare your screen with Figure 7.7. Near the bottom of the Customize Keyboard dialog box click Close. Point anywhere in the document and notice that the pointer changes to pointer. Compare your screen with Figure 7.8. On the ribbon click the Insert tab. In the Header & Footer group click Footer and then click Edit Footer. With the insertion point in the footer using your own name type Firstname Lastname and then compare your screen with Figure 7.9. In the Close group click Close Header and Footer. Click the Developer tab and then in the Code group click Stop Recording. To test your macro press to display a new blank document. Press and hold and then press . Scroll to the bottom of the page to view your name in the footer. Press to position the insertion point at the beginning of the document. Press one time and then click to position the insertion point in the new first paragraph of the document. On the Developer tab in the Code group click Record Macro. In the Record Macro dialog box in the Macro name box type Heading In the Store macro in box be sure that All Documents (Normal.dotm) displays. In the Description box type Inserts the name address and phone number for the organization Under Assign macro to click the Button icon. In the Word Options dialog box in the left pane be sure Quick Access Toolbar is selected. To the right under Choose commands from click Normal.NewMacros.Heading—the name Word uses for your Heading macro. In the middle of the dialog box click Add. Compare your screen with Figure 7.10. On the right side of the Word Options dialog box click Normal.NewMacros.Heading. Below the list of commands click Modify. In the Modify Button dialog box under Symbol in the first row click the third symbol—a blue circle containing a blue i. In the Display name box notice that the macro name displays. Compare your screen with Figure 7.11. Click OK. In the list of Quick Access Toolbar commands notice that the selected symbol displays to the left of Normal.NewMacros.Heading. Click OK to close the Word Options dialog box. Notice that the pointer displays in the document and the Heading button (blue circle) displays on the Quick Access Toolbar. Type the following text pressing after each of the first three lines. With the insertion point to the right of the phone number press to select all four lines. With all four lines selected click the Home tab. In the Styles group change the style to No Spacing change the Font Size to 18 apply Bold and then click Center . Click the Developer tab and then in the Code group click Stop Recording. Compare your screen with Figure 7.12. Press and then Save your document. On the Developer tab in the Code group click Record Macro. In the Record Macro dialog box in the Macro name box type AutoClose Click the Store macro in arrow and then click the name of your 7A_Expo_Flyer (document). Compare your screen with Figure 7.13 and then take a few moments to study the table in Figure 7.14 to examine the categories of automatic macros. Click OK to start recording mode. Click the Insert tab. In the Header & Footer group click Header and then on the list click Edit Header. Press and then press . On the Header & Footer Tools Design tab in the Insert group click Date & Time. In the Date and Time dialog box on the list click the thirteenth format—with the date and time displayed in seconds. Compare your screen with Figure 7.15. Click OK to close the Date and Time dialog box. In the Close group click Close Header and Footer. Click the Developer tab. In the Code group click Stop Recording. Save your document. Press to close your document without closing Word. Compare your screen with Figure 7.16. In the Microsoft Word message box click Save to save your changes and close the document. Click the File tab on the left click Open and then click Browse. In the Open dialog box navigate to the files you downloaded with this project and then open the file w07A_Expo_Memo. Click the File tab on the left click Save As click Browse and then in the Save As dialog box navigate to your Word Chapter 7 folder. In the lower portion of the dialog box click the Save as type arrow and then on the list click Word Macro-Enabled Document. In the File name box using your own name type Lastname_Firstname_7A_Expo_Memo and then click Save. If any words are flagged as spelling errors right-click the word and then click Ignore All. Select the second paragraph—MEMO. On the Home tab in the Font group click Text Effects and Typography and then in the second row click the fifth effect. Click to position the insertion point in the empty paragraph at the top of the document and then on the Quick Access Toolbar click the button assigned to your Heading macro—the blue circle containing a blue i. Click anywhere in the document to cancel the selection and then compare your screen with Figure 7.17. Press and hold and then press . If necessary scroll to the bottom of the page to view the footer. Press and then Save your document. Locate the first paragraph of the document and notice that it contains the text Magical Park Career Expo. Click the Developer tab and then in the Code group click Macros. In the Macros dialog box select the Heading macro and then click Edit. If necessary maximize the Normal – [NewMacros (Code)] window. Compare your screen with Figure 7.18. In the pane on the right locate the text Magical Park Career Expo. Click to position the insertion point to the left of Career type Corporation and then press . Compare your screen with Figure 7.19. On the menu bar click File and then on the list click Close and Return to Microsoft Word. In your Lastname_Firstname_7A_Expo_Memo document delete the heading—the first four paragraphs. Press one time to create a blank paragraph above the word MEMO and then click to place your insertion point in that blank paragraph. On the Quick Access Toolbar click the button assigned to your Heading macro and then compare your screen with Figure 7.20. Click anywhere in the document to cancel the selection and then Save your document. Locate and select the four bulleted paragraphs. On the Developer tab in the Code group click Macros. In the Macros dialog box click the Macros in arrow and then click Word commands. Under Macro name scroll as necessary and then on the list click AdjustListIndents—macro names are in alphabetical order. In the Macros dialog box click Run. In the Adjust List Indents dialog box click the Bullet position up spin arrow to 0.4″. Click the Text indent up spin arrow to 0.6″. Compare your screen with Figure 7.21. Click OK and notice that the indentation of the bulleted list has changed. Click Save . Press . Click the File tab display the Info tab and then click Show All Properties. In the Tags box type macros In the Subject box type your course name and section number. If necessary edit the author name to display your name. On the left click Print to view the Print Preview. On the left click the Save As tab click Browse and then in the Save As dialog box navigate to your Word Chapter 7 folder. In the File name box type Lastname_Firstname_7A_Expo_Memo_Word_Document Click the Save as type arrow and then click Word Document. Click Save. Close your document and close Word. If necessary open Word and display a blank document. Click the Developer tab and then in the Code group click Macros. In the Macros dialog box in the Macros in box click the arrow and then click All active templates and documents. Under Macro name click Footer and then click Delete. In the Microsoft Word dialog box click Yes to confirm the deletion. By using the same technique delete the Heading macro. Click Close to close the Macros dialog box. Click the File tab and then click Options. In the Word Options dialog box click Customize Ribbon. Under Main Tabs clear the Developer check box. On the left side of the Word Options dialog box click Quick Access Toolbar. On the right side under Customize Quick Access Toolbar click Normal.NewMacros.Heading. In the middle of the window click Remove and then click OK. Close Word. Click the File tab on the left click Options and then in the Word Options dialog box on the left click Customize Ribbon. On the right in the Main Tabs list locate and then select the Developer check box. Compare your screen with Figure 7.3. Click OK to close the Word Options dialog box. Notice that the Developer tab displays on the ribbon.Click the Developer tab and then in the Code group click Macro Security. Compare your screen with Figure 7.4 and then take a few moments to study the table in Figure 7.5 to examine macro security settings. In the Trust Center dialog box under Macro Settings if necessary click the Disable all macros with notification option button. Click OK to close the Trust Center dialog box.On the Developer tab in the Code group click Record Macro.In the Record Macro dialog box in the Macro name box type Footer Under Store macro in if necessary click the Store macro in arrow and select All Documents (Normal.dotm). In the Description box click to position the insertion point and then type Inserts the author’s name in a footer Compare your screen with Figure 7.6. Under Assign macro to click the Keyboard icon. In the Customize Keyboard dialog box with the insertion point in the Press new shortcut key box press and hold and and then press . In the lower left corner of the dialog box click Assign. Compare your screen with Figure 7.7. Near the bottom of the Customize Keyboard dialog box click Close. Point anywhere in the document and notice that the pointer changes to pointer. Compare your screen with Figure 7.8. On the ribbon click the Insert tab. In the Header & Footer group click Footer and then click Edit Footer.With the insertion point in the footer using your own name type Firstname Lastname and then compare your screen with Figure 7.9. In the Close group click Close Header and Footer.Click the Developer tab and then in the Code group click Stop Recording. To test your macro press to display a new blank document. Press and hold and then press . Scroll to the bottom of the page to view your name in the footer. On the Developer tab in the Code group click Record Macro.In the Record Macro dialog box in the Macro name box type AutoClose Click the Store macro in arrow and then click the name of your 7A_Expo_Flyer (document). Compare your screen with Figure 7.13 and then take a few moments to study the table in Figure 7.14 to examine the categories of automatic macros. Click OK to start recording mode.Click the Insert tab. In the Header & Footer group click Header and then on the list click Edit Header.Press and then press . On the Header & Footer Tools Design tab in the Insert group click Date & Time.In the Date and Time dialog box on the list click the thirteenth format—with the date and time displayed in seconds. Compare your screen with Figure 7.15. Click OK to close the Date and Time dialog box. In the Close group click Close Header and Footer.Click the Developer tab. In the Code group click Stop Recording.Save your document. Press to close your document without closing Word. Compare your screen with Figure 7.16. In the Microsoft Word message box click Save to save your changes and close the document.Click the File tab on the left click Open and then click Browse. In the Open dialog box navigate to the files you downloaded with this project and then open the file w07A_Expo_Memo.Click the File tab on the left click Save As click Browse and then in the Save As dialog box navigate to your Word Chapter 7 folder. In the lower portion of the dialog box click the Save as type arrow and then on the list click Word Macro-Enabled Document.In the File name box using your own name type Lastname_Firstname_7A_Expo_Memo and then click Save. If any words are flagged as spelling errors right-click the word and then click Ignore All. Select the second paragraph—MEMO. On the Home tab in the Font group click Text Effects and Typography and then in the second row click the fifth effect.Click to position the insertion point in the empty paragraph at the top of the document and then on the Quick Access Toolbar click the button assigned to your Heading macro—the blue circle containing a blue i. Click anywhere in the document to cancel the selection and then compare your screen with Figure 7.17. Press and hold and then press . If necessary scroll to the bottom of the page to view the footer. Press and then Save your document.Locate the first paragraph of the document and notice that it contains the text Magical Park Career Expo.Click the Developer tab and then in the Code group click Macros. In the Macros dialog box select the Heading macro and then click Edit. If necessary maximize the Normal – [NewMacros (Code)] window. Compare your screen with Figure 7.18. In the pane on the right locate the text Magical Park Career Expo. Click to position the insertion point to the left of Career type Corporation and then press . Compare your screen with Figure 7.19. On the menu bar click File and then on the list click Close and Return to Microsoft Word. In your Lastname_Firstname_7A_Expo_Memo document delete the heading—the first four paragraphs.Press one time to create a blank paragraph above the word MEMO and then click to place your insertion point in that blank paragraph.On the Quick Access Toolbar click the button assigned to your Heading macro and then compare your screen with Figure 7.20. Click anywhere in the document to cancel the selection and then Save your document.Locate and select the four bulleted paragraphs.On the Developer tab in the Code group click Macros. In the Macros dialog box click the Macros in arrow and then click Word commands. Under Macro name scroll as necessary and then on the list click AdjustListIndents—macro names are in alphabetical order. In the Macros dialog box click Run. In the Adjust List Indents dialog box click the Bullet position up spin arrow to 0.4″. Click the Text indent up spin arrow to 0.6″. Compare your screen with Figure 7.21. Click OK and notice that the indentation of the bulleted list has changed.Click Save . Press .Click the File tab display the Info tab and then click Show All Properties. In the Tags box type macros In the Subject box type your course name and section number. If necessary edit the author name to display your name.On the left click Print to view the Print Preview.On the left click the Save As tab click Browse and then in the Save As dialog box navigate to your Word Chapter 7 folder.In the File name box type Lastname_Firstname_7A_Expo_Memo_Word_Document Click the Save as type arrow and then click Word Document. Click Save. Close your document and close Word.

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.

Read more

Free-revision policy

The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.

Read more

Privacy policy

The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.

Read more

Fair-cooperation guarantee

By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency

Order your paper today and save 30% with the discount code HAPPY

X
error: Content is protected !!
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 323 412 5597

Feel free to ask questions, clarifications, or discounts available when placing an order.