+ Reply to Thread
Results 1 to 5 of 5

Split Large Excel file to multiple excel files and possible save the files

  1. #1
    Registered User
    Join Date
    05-03-2012
    Location
    World
    MS-Off Ver
    Excel 2010
    Posts
    7

    Split Large Excel file to multiple excel files and possible save the files

    Hello,

    I have a killing task to create for all students specified xls for each parent with grades etc..

    The data is retrieved from a large database.

    1. I want to create specific sheets for each student from the massive excel file

    I want to create the sheet name by the name in A5 and H5
    The data i want to retrive is in A to U columns until a new name comes in Column A
    I have three headers that needs also to come along too
    .

    2. Then I want to save the new sheets with the students name and class in a folder X:\students

    Thanks,

    "tired teacher"
    Attached Files Attached Files
    Last edited by EnzioL; 05-14-2012 at 08:33 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Split Large Excel file to multiple excel files and possible save the files

    What data will be available in rows 6 to 18?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-03-2012
    Location
    World
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Split Large Excel file to multiple excel files and possible save the files

    Quote Originally Posted by arlu1201 View Post
    What data will be available in rows 6 to 18?

    Column A will be totally empty if not a name.

    Rows 6 to 18 from Column B and forward will have Text and numbers,
    Street address contact name and Name of assignment and in the end grades

    Thanks,

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Split Large Excel file to multiple excel files and possible save the files

    Try this code
    Please Login or Register  to view this content.
    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
    Choose Insert | Module
    Where the cursor is flashing, choose Edit | Paste

    To run the Excel VBA code:
    Choose View | Macros
    Select a macro in the list, and click the Run button

  5. #5
    Registered User
    Join Date
    05-03-2012
    Location
    World
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Split Large Excel file to multiple excel files and possible save the files

    A+ and a My little pony star in the booklet. Thanks! Works great!

+ 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