+ Reply to Thread
Results 1 to 2 of 2

Answer to Saving worksheets as individual workbooks using code?

  1. #1
    Registered User
    Join Date
    01-20-2006
    Posts
    19

    Answer to Saving worksheets as individual workbooks using code?

    Sub Macro1()
    '
    Dim WS As Worksheet

    For Each WS In ActiveWorkbook.Worksheets
    WS.Copy
    ActiveWorkbook.SaveAs ActiveSheet.Name
    Next WS
    '
    End Sub

  2. #2
    Ron de Bruin
    Guest

    Re: Answer to Saving worksheets as individual workbooks using code?

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


    --
    Regards Ron de Bruin
    http://www.rondebruin.nl


    "H.A. de Wilde" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Sub Macro1()
    > '
    > Dim WS As Worksheet
    >
    > For Each WS In ActiveWorkbook.Worksheets
    > WS.Copy
    > ActiveWorkbook.SaveAs ActiveSheet.Name
    > Next WS
    > '
    > End Sub
    >
    >
    > --
    > H.A. de Wilde
    > ------------------------------------------------------------------------
    > H.A. de Wilde's Profile: http://www.excelforum.com/member.php...o&userid=30679
    > View this thread: http://www.excelforum.com/showthread...hreadid=538811
    >




+ 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