+ Reply to Thread
Results 1 to 7 of 7

Copy specific number of rows to a new sheet

  1. #1
    Registered User
    Join Date
    06-28-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    11

    Copy specific number of rows to a new sheet

    Hi,

    I have a workbook with raw data. The raw data are on the 1st sheet consists of 200 rows and four (4) columns: 1st column-Branch Code, 2nd Column- GL Code, 3rd Column-Account Name, and 4th Column-Amount.

    To easily manage the file, once i downloaded the data to my workbook, i.e., to first sheet, I want to automatically move the first 50 rows to 2nd sheet, the next 50 rows to 3rd sheet and so on. Headers are included.

    Please help. Thank you

    trust_lord
    Last edited by trust_lord; 10-21-2011 at 05:15 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy specific number of rows to a new sheet

    Try this:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-28-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Copy specific number of rows to a new sheet

    Thank you, JBeaucaire for your quick reply.

    It works fine. But what i wanted is to remove all the data from sheet 1. Sorry, I didn't mention it in my original post. How should i do it.?

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy specific number of rows to a new sheet

    It's much easierto manage data in one sheet. What are you doing that requires it to be split?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    06-28-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Copy specific number of rows to a new sheet

    because i need to forward the file with 50 data only per sheet as required.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy specific number of rows to a new sheet

    Change this one line:
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-28-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    11

    Smile Re: Copy specific number of rows to a new sheet

    It works great! Thank you so much.

+ 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