+ Reply to Thread
Results 1 to 7 of 7

Copy and Append data to another sheet

  1. #1
    Registered User
    Join Date
    08-29-2016
    Location
    NL
    MS-Off Ver
    2016
    Posts
    4

    Copy and Append data to another sheet

    Hi all,

    I'm trying to copy and append rows from multiple sheets to one main overview sheet. The VBA underneath works, but if the script executes the second sheet, it starts at the first row. So the rows from the first sheet are overwritten. Can anyone help to get the rows appended from the second, thirt, fourth etc ?

    Thanks

    ------------------------------------------------------------------------------------------
    Please Login or Register  to view this content.
    -------------------------------------------------------------------------------------------
    Last edited by alansidman; 08-29-2016 at 10:07 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,947

    Re: Copy and Append data to another sheet

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-29-2016
    Location
    NL
    MS-Off Ver
    2016
    Posts
    4

    Re: Copy and Append data to another sheet

    Thanks Alan, sorry ;-)

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,947

    Re: Copy and Append data to another sheet

    You have listed the range of C1:O1 to be copied. Is this what you want? Instead of trying to figure out what you want from your code, please explain in simple language what you are wanting to happen. We can then give you what you want.

  5. #5
    Registered User
    Join Date
    08-29-2016
    Location
    NL
    MS-Off Ver
    2016
    Posts
    4

    Re: Copy and Append data to another sheet

    Main goal is to copy rows from seperate sheets tot one total overview sheet. I only want to copy rows where ColumnA has a value of >= 1

    Here are the steps what I want to do:

    1. First I look at Sheet1 and counting the used rows
    2. Then I look at ColumnA if it has a value >= 1
    3. Then I select Column C1:O1 and copy them to the sheet named 'TotalSheet'

    Then I would like to check a second sheet named Sheet2, and also copy these to sheet 'Totalsheet'. But then pasting also starts at Row1 overwriting the data copied for Sheet1. The goal I'm having is to append the data from Sheet2 underneath the data from Sheet1 on the sheet TotalSheet

    thanks for you help

  6. #6
    Registered User
    Join Date
    08-29-2016
    Location
    NL
    MS-Off Ver
    2016
    Posts
    4

    Re: Copy and Append data to another sheet

    In the meanwhile, I've already fixed it. This is the solution:

    Please Login or Register  to view this content.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,947

    Re: Copy and Append data to another sheet

    Thank you for providing your solution. If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy row from one sheet and append it to the second sheet
    By saidineshbabu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2015, 02:38 AM
  2. Replies: 2
    Last Post: 01-22-2014, 05:36 PM
  3. Copy table01, append to tableA on another sheet, create sub-tables therein
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2014, 06:12 PM
  4. copy from one sheet and append in another one
    By mmf in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-01-2013, 02:06 AM
  5. Replies: 1
    Last Post: 07-17-2012, 11:05 PM
  6. [SOLVED] Select file, Copy Worksheet Range and Append onto 1 Sheet
    By Tellm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-03-2012, 03:27 PM
  7. Find in text - and copy/append to other sheet
    By excaliburst in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2009, 11:29 PM

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