+ Reply to Thread
Results 1 to 5 of 5

Split worksheets to separate files

  1. #1
    Registered User
    Join Date
    02-07-2011
    Location
    Oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    2

    Split worksheets to separate files

    Hello all. I am working on a project that is two part. I am working with Excel 2007. I have a workbook that has 50 or so worksheets that I need to split and save as individual files. I found the following code online. It works fine, however, I need the "new" workbooks to be saved as Excel 97-2003 files. What do I need to add to this to make that happen?

    Please Login or Register  to view this content.
    Part Two is this: I have another file that I'm needing to split as well. However, the information in this workbook is organized in a Pivot Table. I have utilized the 'Show Report Filter Pages' to have the information on separate worksheets so that I can split the file. Will the above code (with the modification to save in 97-2003 format) work with the Pivot Table?
    Last edited by ksteffin; 02-25-2011 at 07:07 PM.

  2. #2
    Forum Contributor
    Join Date
    03-28-2008
    Location
    India, bangalore
    MS-Off Ver
    Excel 2003,2007
    Posts
    216

    re: Splitting worksheets to separate files

    Try
    Please Login or Register  to view this content.
    change this to
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-07-2011
    Location
    Oklahoma
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Split worksheets to separate files

    That works great! One more question. The original workbook contains reports that I need to split and send out each month. If i wanted to add "March Reports" to the sheet name only when saving it, how would I do that? Could I add "March Reports" like this?

    Please Login or Register  to view this content.

    Thanks for your help, aravindhan_31!

  4. #4
    Registered User
    Join Date
    10-10-2013
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Split worksheets to separate files

    I tried using this macro, however while opening the splitted worksheet I am getting the error"The file you are trying to open, " ", is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file" , whereas the original file which I am trying to split is also in .xls format. I do not want this error. Please help

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Split worksheets to separate files

    Sonam Sahani

    Unfortunately you have to start your own thread for this.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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