+ Reply to Thread
Results 1 to 3 of 3

How do I move or copy more then one sheet at a time

  1. #1
    Carl
    Guest

    How do I move or copy more then one sheet at a time

    I've got a Excel workbook with over 400 worksheets in it, I need to turn each
    of them into thier own work book. Are there any shortcuts?

  2. #2
    Duke Carey
    Guest

    RE: How do I move or copy more then one sheet at a time

    Ron de Bruin has a utility to do just that

    http://www.rondebruin.nl/copy6.htm



    "Carl" wrote:

    > I've got a Excel workbook with over 400 worksheets in it, I need to turn each
    > of them into thier own work book. Are there any shortcuts?


  3. #3
    Gord Dibben
    Guest

    Re: How do I move or copy more then one sheet at a time

    Carl

    Sub Make_New_Books()
    Dim w As Worksheet
    Application.ScreenUpdating = False
    Application.DisplayAlerts = False
    For Each w In ActiveWorkbook.Worksheets
    w.Copy
    ActiveWorkbook.SaveAs FileName:=ThisWorkbook.Path & "\" & w.Name
    ActiveWorkbook.Close
    Next w
    Application.DisplayAlerts = True
    Application.ScreenUpdating = True
    End Sub

    If not familiar with VBA and macros, see David McRitchie's site for more on
    "getting started".

    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    In the meantime..........

    First...create a backup copy of your original workbook.

    To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

    Hit CRTL + R to open Project Explorer.

    Find your workbook/project and select it.

    Right-click and Insert>Module. Paste the code in there. Save the
    workbook and hit ALT + Q to return to your workbook.

    Run the macro by going to Tool>Macro>Macros.

    You can also assign this macro to a button or a shortcut key combo.


    Gord Dibben Excel MVP

    On Wed, 1 Jun 2005 23:54:02 -0700, "Carl" <Carl@discussions.microsoft.com>
    wrote:

    >I've got a Excel workbook with over 400 worksheets in it, I need to turn each
    >of them into thier own work book. Are there any shortcuts?



+ Reply to Thread

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