+ Reply to Thread
Results 1 to 2 of 2

Macro to move worksheets from a workbook to a new workbook

  1. #1
    Forum Contributor
    Join Date
    04-22-2015
    Location
    Scotland
    MS-Off Ver
    365
    Posts
    171

    Macro to move worksheets from a workbook to a new workbook

    Hi Forum
    I'm guessing this is not Id doable in excel 2007 but I am new to macros and amazed at their capability, that's why I thought I would ask rather than writ it off. I have created a workbook that provides order planning but each order raised creates a new worksheet which will load the workbook size fairly quickly, is there any macro that would move worksheets at "Closed" status into new workbook with historical orders leaving space for new worksheets?

    I may not be explaining this too well so feel free to ask questions..

    Many thanks

    JNEWMAN

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Macro to move worksheets from a workbook to a new workbook

    Easily done.

    I would use a sheet specific macro to check the status of the worksheet.

    Please Login or Register  to view this content.
    If status changes to closed then the macro would call a second macro.


    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. [SOLVED] VBA code to create a workbook and copy or move worksheets in to workbook through loop
    By anishkumarvs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-16-2015, 05:40 AM
  2. Replies: 9
    Last Post: 06-24-2013, 04:14 PM
  3. Move to next workbook if macro already run on current workbook
    By klacy1981 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2013, 07:01 PM
  4. Replies: 1
    Last Post: 08-31-2012, 09:52 PM
  5. [SOLVED] Macro Wanted for looping thru worksheets in one workbook and pasting to another workbook!!
    By eduardito in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-03-2012, 07:43 AM
  6. Cut and move data by macro (?) from one workbook to master workbook
    By esylvester in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-17-2012, 02:57 AM
  7. Move worksheets to a new workbook
    By mrdata in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-05-2006, 05:35 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