Sub kishen()
Dim lr As Long
Dim lr1 As Long
Dim lr2 As Long
Dim lr2a As Long
Dim lr3 As Long
Dim lr3a As Long
Dim lr4 As Long
lr = Workbooks("kishen1.xlsx").Sheets("Sheet1").Cells(Rows.Count, 1).End(xlUp).Row
lr1 = Workbooks("kishen1.xlsx").Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
lr2 = Workbooks("kishen2.xlsx").Sheets("Sheet1").Cells(Rows.Count, 1).End(xlUp).Row
lr2a = Workbooks("kishen2.xlsx").Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
lr3 = Workbooks("kishen3.xlsx").Sheets("Sheet1").Cells(Rows.Count, 1).End(xlUp).Row
lr3a = Workbooks("kishen3.xlsx").Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
lr4 = Workbooks("Book4.xlsm").Sheets("Sheet1").Cells(Rows.Count, 1).End(xlUp).Row + 1
Workbooks("kishen1.xlsx").Sheets("Sheet1").Range("D2:E" & lr).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("A" & lr4)
Workbooks("kishen1.xlsx").Sheets("Sheet1").Range("AC2:AC" & lr).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("C" & lr4)
Workbooks("kishen1.xlsx").Sheets("Sheet2").Range("D2:E" & lr1).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("A" & lr4)
Workbooks("kishen1.xlsx").Sheets("Sheet2").Range("AC2:AC" & lr1).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("C" & lr4)
Workbooks("kishen2.xlsx").Sheets("Sheet1").Range("D2:E" & lr2).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("A" & lr4)
Workbooks("kishen2.xlsx").Sheets("Sheet1").Range("C2:C" & lr2).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("C" & lr4)
Workbooks("kishen2.xlsx").Sheets("Sheet2").Range("D2:E" & lr2a).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("A" & lr4)
Workbooks("kishen2.xlsx").Sheets("Sheet2").Range("C2:C" & lr2a).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("C" & lr4)
Workbooks("kishen3.xlsx").Sheets("Sheet1").Range("D2:E" & lr3).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("A" & lr4)
Workbooks("kishen3.xlsx").Sheets("Sheet1").Range("C2:C" & lr3).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("C" & lr4)
Workbooks("kishen3.xlsx").Sheets("Sheet2").Range("D2:E" & lr3a).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("A" & lr4)
Workbooks("kishen3.xlsx").Sheets("Sheet2").Range("C2:C" & lr3a).Copy Workbooks("Book4.xlsm").Sheets("Sheet1").Range("C" & lr4)
End Sub