+ Reply to Thread
Results 1 to 4 of 4

Copy vba module from one workbook to another

  1. #1
    Registered User
    Join Date
    11-06-2013
    Location
    NC
    MS-Off Ver
    Excel 2007
    Posts
    42

    Copy vba module from one workbook to another

    I need a macro to copy...call it Module 1...from an open workbook named "MRO Induction Form (Blank)" to another workbook. "MRO Induction Form (Blank)" contains a page named "Induction Form" which I rename to "Induction Form (2) and then move that page to create a second work book. Unfortunately, the macro does not move with it. At this point in the process, the second workbook has yet to be named.

    Another way to approach this is to copy "Module 1" when I "move" Induction Form (2).

    Any help will be appreciated

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Copy vba module from one workbook to another

    I know I walked down this path and ended up going another way because of anti-virus software interfering with the work and I couldnt change it because of IT rules and such.

    I do know if IS possible so I would start googling.

    http://windowssecrets.com/forums/sho...Excel-Word-97)
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    07-03-2014
    Location
    Plano
    MS-Off Ver
    2010
    Posts
    26

    Re: Copy vba module from one workbook to another

    Hi

    Save the macros in your personal.xl.

    http://office.microsoft.com/en-us/ex...102174076.aspx


    hope this helps!

  4. #4
    Registered User
    Join Date
    11-06-2013
    Location
    NC
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Copy vba module from one workbook to another

    Sbidgol,

    I like this approach but the macro in this workbook must be used by numerous users. Is there a way to share the macro other than in the personal.xl?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. copy module and past module in new workbook
    By flunzy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2013, 04:33 AM
  2. Code to Copy a Module from on Workbook to another not working?
    By JungleJme in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-20-2013, 10:48 AM
  3. How do I copy a macro module to another workbook?
    By Joe Miller in forum Excel General
    Replies: 10
    Last Post: 06-16-2010, 01:19 PM
  4. How to copy module form one workbook to another
    By deepakmehta in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-08-2006, 05:10 PM
  5. Run worksheet module code from workbook module?
    By keithb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2005, 12:05 AM

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