+ Reply to Thread
Results 1 to 2 of 2

Thread: how to create (or cut into) mutiple spreadsheets from one single/large spreadsheet

  1. #1
    Registered User
    Join Date
    12-07-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    how to create (or cut into) mutiple spreadsheets from one single/large spreadsheet

    Hi, Hope everyone is doing great.

    I have an excel spreadsheet that has 100 columns and almost 1000 rows. It's a research data. How can I create a spreadsheet from the above spreadsheet and make say 10 small spreadsheets out of it automatically (i.e. not manually).

    say into 10 spreadsheets each with 10 columns and 100 rows.
    I am doing it manually and it takes foreever as my PC hangs when i select few chunks.

    Thanks for your help.

    Regards, rucshaca
    Last edited by rucshaca; 12-07-2010 at 10:49 AM.

  2. #2
    Forum Guru pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2010
    Posts
    5,151

    Re: how to create (or cut into) mutiple spreadsheets from one single/large spreadshee

    Hi rucshaca

    you could adjust and use something like
    Option Explicit
    Sub test()
        Dim Rowcount As Long, Xrow As Long, XSheet As String
        With Sheets("Sheet1")
            Rowcount = .Cells(Rows.Count, 1).End(xlUp).Row
            Xrow = 1
            Do While Xrow < Rowcount
                Sheets.Add After:=Sheets(Sheets.Count)
                XSheet = Sheets(Sheets.Count).Name
                .Range("A" & Xrow, .Range("H" & Xrow + 10)).Copy (Sheets(XSheet).Range("A1"))
                Xrow = Xrow + 10
            Loop
        End With
    End Sub
    regards pike

    If the solution helped please donate
    here to the RSPCA

    Sites worth visiting;

    J&R Solutions - royUK

    AJP Excel Information - Andy Pope

    Spreadsheet Toolbox

    VBA for smarties - snb

+ 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.2.0