What is macro? write the steps to create a macro
Answers
Answer:
A macro in computer science is a rule or pattern that specifies how a certain input sequence should be mapped to a replacement output sequence according to a defined procedure.
Step 1:Set up the macro
A. Select the View tab, then click Macros > Record Macro.
B. In the Record Macro dialog box, enter a macro name and description. Follow these rules for the name:
Macro names must begin with a letter and use either letters or numerals. You cannot use spaces, non-alphanumeric characters, or periods.
Macro names can be 80 characters maximum
Macro names cannot conflict with the program’s reserved commands or keywords such as Print, Save, Copy, Paste.
C. For the Store Macro In field, choose All Documents to run this macro in all of your Word documents
D. Next, in the Assign Macro To panel, click Button or Keyboard (shortcut) for the method used to access and run the macro.
Note: Most of the shortcut keys are already used by the system. Even though you can overwrite many of these shortcuts, it’s much easier to attach your macro to a button.
Step 2: Add a macro button to the Quick Access Toolbar
A. Click Button and the Word Options/Customize Quick Access Toolbar screen opens.
B. Click Modify, choose an icon to represent your macro button, then click OK.
C. When finished, click OK again to exit.
Step 3: Record the macro
Step 4: Stop recording
When finished, select the View tab again, then click Stop Recording.