+ Reply to Thread
Results 1 to 4 of 4

Copy variable amount of rows between Start and End to Start

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Copy variable amount of rows between Start and End to Start

    Hi All,

    I'm new and I don't know much about VBA code.

    What I want to do is this:
    I have multiple Start and End sheets, Start/End, Start1/End1,start2,End2, with different amount of sheets with different purposes between them.

    From the sheets between Start1 and End1, I want to copy the rows always starting from row 30, row 29 is the header, with a variable amount of rows below.
    In Start1 the copied rows have to start at row 9.

    How do I do this.

    Thank you in advance for your help!
    Attached Files Attached Files
    Last edited by EDo1981; 07-18-2013 at 02:44 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: Copy variable amount of rows between Start and End to Start

    Where should the data be copied to?

    Do you want similar copy paste to be done for the other types of start-end sheets as well?

    Could you upload a sample of your file?

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    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
    07-12-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Copy variable amount of rows between Start and End to Start

    Hi Arlu1201,

    It could also work for my sheets between Start and End.
    But I want it definitely for the sheets between Start1 and End1.

    The Summary should be on sheet Start1 and on sheet Start, because I think there will be to many sheets if I do that on a separate summary sheet.

    Thank you!


    CG hulpsheet_test macro.xlsm
    Last edited by EDo1981; 07-15-2013 at 02:36 AM.

  4. #4
    Registered User
    Join Date
    07-12-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Copy variable amount of rows between Start and End to Start

    Can anyone help me?

+ 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