excel macro _ copying to another workbook

1
Show All Excel > Macros Copy a macro module to another workbook 1. If the Developer tab is not available, do the following to display it: 2. To set the security level temporarily to enable all macros, do the following: 1. Click the Microsoft Office Button , and then click Excel Options. 2. In the Popular category, under Top options for working with Excel, select the Show Developer tab in the Ribbon check box, and then click OK. NOTE To help prevent potentially dangerous code from running, we recommend that you return to any of the settings that disable all macros after you finish working with macros. 3. Open the workbook that contains the module that you want to copy and the workbook that you want to copy the module to. 4. On the Developer tab, in the Code group, click Visual Basic. 5. On the View menu, click Project Explorer . 6. Drag the module that you want to copy to the destination workbook. 1. On the Developer tab, in the Code group, click Macro Security. 2. In the Macros Settings category, under Macro Settings, click Enable all macros (not recommended, potentially dangerous code can run), and then click OK. Page 1 of 1 Copy a macro module to another workbook 6/4/2014 ms-help://MS.EXCEL.12.1033/EXCEL/content/HP10014116.htm

Upload: shivani

Post on 02-Sep-2015

11 views

Category:

Documents


5 download

DESCRIPTION

excel

TRANSCRIPT

  • Show All

    Excel > Macros

    Copy a macro module to another workbook

    1. If the Developer tab is not available, do the following to display it:

    2. To set the security level temporarily to enable all macros, do the following:

    1. Click the Microsoft Office Button , and then click Excel Options.

    2. In the Popular category, under Top options for working with Excel, select the Show Developer tab in the Ribbon check box, and then click OK.

    NOTE To help prevent potentially dangerous code from running, we recommend that you return to any of the settings that disable all macros after you finish working with macros.

    3. Open the workbook that contains the module that you want to copy and the workbook that you want to copy the module to.

    4. On the Developer tab, in the Code group, click Visual Basic.

    5. On the View menu, click Project Explorer .

    6. Drag the module that you want to copy to the destination workbook.

    1. On the Developer tab, in the Code group, click Macro Security.

    2. In the Macros Settings category, under Macro Settings, click Enable all macros (not recommended, potentially dangerous code can run), and then click OK.

    Page 1 of 1Copy a macro module to another workbook

    6/4/2014ms-help://MS.EXCEL.12.1033/EXCEL/content/HP10014116.htm