Copy and paste the data if condition met

Status
Not open for further replies.

rider@1234

Banned
Joined
Jun 20, 2019
Messages
4
Reaction score
0
Points
0
Excel Version(s)
2013
[FONT=&quot]All files are located in different path[/FONT]
[FONT=&quot]vba will be placed in a macro.xlsm[/FONT]
[FONT=&quot]i have a file name 1.xls & 2.xls[/FONT]
[FONT=&quot]match column I of 1.xls with column B of 2.xls[/FONT]
[FONT=&quot]If column I of 1.xls matches with column B of 2.xls then do nothing &[/FONT]
[FONT=&quot]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[/FONT]
[FONT=&quot]sheet name can be anything[/FONT]
[FONT=&quot]plz see the sample pic & help me in solving this problem by vba[/FONT]
 

Attachments

  • 1.PNG
    1.PNG
    13.8 KB · Views: 11
  • 2 (sheet1).PNG
    2 (sheet1).PNG
    3.8 KB · Views: 11
  • result(in sheet2 of 2.xls).PNG
    result(in sheet2 of 2.xls).PNG
    2 KB · Views: 9
Status
Not open for further replies.
Back
Top