Results 1 to 7 of 7

Thread: VBA Simple Copy and Paste between two workbooks based on criteria

Threaded View

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

    VBA Simple Copy and Paste between two workbooks based on criteria

    we have to Open all the files all files are closed except the vba placed file
    If column E of school.xlsx matches with column A of school2.xlsx then copy column E of school2.xslx and paste it to column Z of school1.xlsx and save and close all the files(close school1.xlsx and close school2.xlsx)
    macro will be attached to a different file
    all files are located in same place
    example
    cell E20 of school1.xlsx matches with column A10 of school2.xlsx then copy E10 of school2.xlsx and paste it to Z20 of school1.xlsx
    Plz have a look i have attached my sample file also






    Edit:
    See post #3 ..
    http://www.excelfox.com/forum/showth...ll=1#post11433
    school1.xlsx is ap.xls
    school2.xlsx is leverage.xlsx (LEVERAGE1.xlsx )
    Attached Files Attached Files
    Last edited by DocAElstein; 06-23-2020 at 01:30 PM.

Similar Threads

  1. Replies: 1
    Last Post: 01-30-2019, 04:23 PM
  2. Excel VBA to copy and paste columns
    By gripper in forum Excel Help
    Replies: 4
    Last Post: 04-15-2015, 06:03 PM
  3. Replies: 2
    Last Post: 03-09-2015, 11:26 PM
  4. Replies: 4
    Last Post: 12-12-2013, 06:16 PM
  5. VBA -- Copy/Paste across sheets
    By Rasm in forum Excel Help
    Replies: 4
    Last Post: 09-21-2012, 02:07 PM

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
  •