Results 1 to 10 of 29

Thread: copy and paste by VBA based on criteria

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #25
    Senior Member
    Join Date
    Jul 2019
    Posts
    382
    Rep Power
    0

    Copy and paste the data if condition met

    All files are located in different path
    vba will be placed in a macro.xlsm
    i have a file name 1.xls & 2.xls
    match column I of 1.xls with column B of 2.xls
    If column I of 1.xls matches with column B of 2.xls then do nothing &
    if column I of 1.xls doesnt matches with column B of 2.xls then copy and paste the column B & Column I of 1.xls to column A & column B of sheet2 of 2.xls
    sheet name can be anything
    plz see the sample pic & help me in solving this problem by vba

    the bigger pic is 1.xls
    the smallest pic is sheet2 of 2.xls (result)




    Moderator notice...
    Yet again another cross post
    https://www.excelguru.ca/forums/show...-condition-met
    Attached Images Attached Images

Similar Threads

  1. Replies: 48
    Last Post: 09-23-2020, 02:03 AM
  2. Replies: 85
    Last Post: 06-09-2020, 05:58 PM
  3. Copy paste data based on criteria
    By analyst in forum Excel Help
    Replies: 7
    Last Post: 01-13-2014, 12:46 PM
  4. Replies: 8
    Last Post: 10-31-2013, 12:38 AM
  5. Replies: 2
    Last Post: 09-18-2013, 12:30 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •