Results 1 to 11 of 11

How do I copy a macro module to another workbook?

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-26-2005
    Location
    annapolis, Md.
    MS-Off Ver
    2007
    Posts
    260

    How do I copy a macro module to another workbook?

    I have 4 macros in the "personal" workbook. I am trying to copy one of them to another workbook. I found instructions at the following link and have been able to do everything it says except the last step which says "Drag the module that you want to copy to the destination workbook".
    Please tell me how to do that [ie] I can click on and drag it but don't know where to drag it to?

    http://office.microsoft.com/en-gb/ex...010014116.aspx

    Copy a macro module to another workbook
    Applies to: Microsoft Office Excel 2007
    If the Developer tab is not available, do the following to display it:
    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 The Ribbon is a component of the Microsoft Office Fluent user interface.
    2. To set the security level temporarily to enable all macros, do the following:
    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.
    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.
    1. Open the workbook that contains the module that you want to copy and the workbook that you want to copy the module to.
    2. On the Developer tab, in the Code group, click Visual Basic.
    3. On the View menu, click Project Explorer .
    4. Drag the module that you want to copy to the destination workbook.
    Last edited by Joe Miller; 06-16-2010 at 01:28 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1