+ Reply to Thread
Results 1 to 3 of 3

Copying macros with Worsheet into new workbook.

  1. #1
    Registered User
    Join Date
    09-12-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    8

    Copying macros with Worsheet into new workbook.

    Is there a way to make this happen. I have a workbook with a worksheet that has input information, a page of references and then a report worksheet. The macros that I created on the report worksheet are just filter verious areas into sub-reports. I want to take that page into a separate work book break the link and still allow those recieving the report to use the macros for filtering.

  2. #2
    Forum Contributor
    Join Date
    01-17-2013
    Location
    Belgium
    MS-Off Ver
    Excel 2010
    Posts
    211

    Re: Copying macros with Worsheet into new workbook.

    below will copy the code thats under the worksheet itself from your original to your destination , this does not include modules.

    Right click on the sheet involved and select "move or copy"
    select the workbook it needs to go to from the dropdown
    you can then even select its position of your destination
    make sure to select "create a copy (at bottom left)

    or have it done by code
    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved , to mark your thread as Solved select Thread Tools and click Mark thread as Solved.

    I can't read the mind of my wife so then I get picture but no sound .... and then I mostly get the idea, same goes here picture your outcome and I get the idea.

  3. #3
    Registered User
    Join Date
    09-12-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Copying macros with Worsheet into new workbook.

    When i copy the worksheet to a new workbook it does not bring the marcos with it. they stay attached to the other page.

+ 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. How can I PUSH Data from one Worsheet into another Workbook?
    By bmasella in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-08-2008, 09:50 PM
  2. Copying macros from a file to Personal Workbook
    By excel nubie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2007, 12:31 PM
  3. Referring to a worsheet in another workbook
    By Roundy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2006, 11:10 PM
  4. Worsheet and workbook
    By tiler in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-19-2006, 08:22 AM
  5. Trouble saving a worsheet to a file using macros.
    By phoenixx153 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2005, 06:06 PM

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