Вы находитесь на странице: 1из 21

SUBMITTED TO

FARIDABAD BRANCH OF NIRC OF ICAI

SUBMITTED BY SHOKIENDER ATTRI NRO 0307629

What is a Macro?
A macro is a way to automate a task that is to be performed repeatedly or on a regular basis. It is a series of commands or actions that can be stored or run whenever we need to perform a task. We can record or build a macro, and then play the macro to automatically repeat the series of commands or actions.

Use

of macros
you

Macros save time and expand the capabilities of the programs

use every day. They can be used to automate repetive document production tasks, streamline cumbersome tasks, or create solutions such as automating the creation of documents that you and your colleagues use regularly.

WHERE ARE MACROS SAVED?

Macros can be saved with the workbook in which they where created, or they can be saved in a separate personal macro workbook where they are more accessible. For macros stored in personal macro workbook, excel creates a hidden personal macro workbook, if it doesnt automatically exists, and saves the macro in this workbook. Macros saved in personal macro workbooks can be used later on in other workbooks also.

HOW

TO RECORD A MACRO?

Macros can be saved with the workbook in which they where created, or they can be saved in a separate personal macro workbook where they are more accessible.

For macros stored in personal macro workbook, excel creates a hidden personal macro workbook, if it doesnt automatically exists, and saves the macro in this workbook. Macros saved in personal macro workbooks can be used later on in other workbooks also.

Verify that Excel preferences allows the run of macros. This setting is in the "Security" section, in most versions of Excel.

Open the workbook that contains or will contain the macro.

Step 1
On the Developer Tab, in the Code group, click Record Macro. The Record Macro dialog box appears.

Step 4 In the Store macro in list, select the workbook where the macro is to be stored. It contains the options Personal Macro Workbook, New Workbook and This Workbook.

Step 5 In the Description box, type a name for the macro.

Step 6 Click OK to start recording the macro.

Step 7 Perform the actions to be recorded. Try not to make any errors as all actions are being recorded.

Step 8 On the Developer Tab, in the Code group, click Stop recording

Running a macro
Step 1
On the Developer Tab, in the Code Group, click Macro. The macro dialog box appears

Step 2 Select the required macro


Step 3

Click run

template is a file that serves as a starting point for a new document. When you open a template, it is preformatted in some way. For example, you might use template in Microsoft Word that is formatted as a business letter. The template would likely have a space for your name and address in the upper left corner, an area for the recipient's address a little below that on the left site, an area for the message body below that, and a spot for your signature at the bottom.

copy

macros, styles, and autocompletion entries from one template (or document) to another; Reuse of a page header, watermark, structure, and many forms of repeated document contents; create and remove entries (from the New > File menu) for fast access to frequently used templates; save automation scripts in languages such as Visual Basic for Applications;

To

insert endnotes, follow these steps:

1. Place the cursor where the endnote mark should be located 2. On the Reference menu, click Footnote

3. Make sure Endnotes is selected in the Location section 4. Select End of document or End of section 5. Beside Numbering select Continuo us or Restart each section 6. Click Insert

To insert footnotes, follow these steps:


1. Place the cursor where the footnote mark should be located 2. On the Reference menu, click Footnote

4. Make sure Footnotes is selected in the Location section 5. Additionally, select Bottom of page, if it isnt already 6. Click Insert

The footnote mark will appear at the selected location. Word will take you to the footnote section at the bottom of the page. Enter the footnote text. Add formatting if desired
You can add footnotes in any order you want. Word automatically updates the numbering.

Вам также может понравиться