+ Reply to Thread
Results 1 to 3 of 3

Savings Each Sheet as a Separate File

  1. #1
    Forum Contributor
    Join Date
    10-23-2003
    Posts
    141

    Savings Each Sheet as a Separate File

    Hi,

    Does anyone have any suggestions to have excel automatically Save each Sheet in a workbook as a separate file?

    Thanks

  2. #2
    Jim Thomlinson
    Guest

    RE: Savings Each Sheet as a Separate File

    You did not say where you wanted it saved or by what name so here is a basic
    shell that you can modify as necessary.

    Sub SaveSheets()
    Dim wks As Worksheet
    Dim wbk As Workbook

    For Each wks In Worksheets
    wks.Copy
    Set wbk = ActiveWorkbook
    wbk.SaveAs ThisWorkbook.Path & "\" & wks.Name
    Next wks

    End Sub
    --
    HTH...

    Jim Thomlinson


    "STEVEB" wrote:

    >
    > Hi,
    >
    > Does anyone have any suggestions to have excel automatically Save each
    > Sheet in a workbook as a separate file?
    >
    > Thanks
    >
    >
    > --
    > STEVEB
    > ------------------------------------------------------------------------
    > STEVEB's Profile: http://www.excelforum.com/member.php...fo&userid=1872
    > View this thread: http://www.excelforum.com/showthread...hreadid=400941
    >
    >


  3. #3
    Forum Contributor
    Join Date
    10-23-2003
    Posts
    141
    Thanks Jim!

    Everything worked great! I really appreciate your help!

+ 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