+ Reply to Thread
Results 1 to 14 of 14

How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

Hybrid View

  1. #1
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    Need Help on this one i only want to have sample on how to copy and paste some data which i dont have from sheet 1 to sheet 2 because i have 60000 line and some data which i have and some i dont so i only need to grab what i dont have from sheet 1 to sheet 2 using vba is it possible?
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,717

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    Do all cells have to match or just the first column to determine what is missing from Sheet1.
    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
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    all cell have to match if missing a data in sheet 2 then it will get from sheet one and fill it inside sheet 2

  4. #4
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    Anyone if other solution's?

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    Yes, there are some which are sheet2, but not sheet1. This make sense. Do you want to copy data which are in sheet2, but not in sheet1 INTO sheet1?

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    It is not clear.
    All data which are in sheet1 are in sheet2, so what is missing?
    I know you are comparing each row. Which data are copied from which sheet?

  7. #7
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    Yes just like what u said from sheet 2 to sheet 1

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    Try the attached.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    yea its what i wan but the file i show u actually is just sample cause the real wan the file size is too big to fit in here and by the way its a long vba programming code i wish understood it

  10. #10
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    The code could cope with speed of 100k rows, depending on your CPU. As long as your data format remain the same, the code should work. If your data format is different, you need to attach a sample, which mimics your real data.

  11. #11
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    oo ok sure wait let me take sample from my worksheet

  12. #12
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    I will be off-site very shortly, but will check in my message at some point tonight.

  13. #13
    Registered User
    Join Date
    11-14-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    Hey AB33 is it possible i send you the file thru other places like gmail?

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

    Re: How to transfer data which is from sheet 1 to sheet 2 instead of one by one paste

    You need to upload the file here -

    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]

+ 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. Replies: 24
    Last Post: 04-28-2013, 03:37 PM
  2. Transfer inputed Data from Sheet x: row x to Sheet y : row y or Sheet z: row z
    By Joecruz749 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2013, 03:20 PM
  3. Replies: 1
    Last Post: 03-11-2013, 05:37 AM
  4. Replies: 1
    Last Post: 02-13-2013, 01:32 PM
  5. Need to automatically transfer data from survey sheet to paste sheet.
    By MWD Hand in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-29-2012, 08:03 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