Sub Update_FileA()
'
' Update_FileA Macro
'
'
Dim LrA As Long, i As Long
LrA = Sheets("FILE A").Range("C" & Rows.Count).End(xlUp).Row
For i = 99 To LrA
Range("H" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,10,0)"
Range("H" & i).Value = .Value
Range("I" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,11,0)"
Range("I" & i).Value = .Value
Range("J" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,12,0)"
Range("J" & i).Value = .Value
Range("K" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,13,0)"
Range("K" & i).Value = .Value
Range("L" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,16,0)"
Range("L" & i).Value = .Value
Range("M" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,17,0)"
Range("M" & i).Value = .Value
Range("N" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,18,0)"
Range("N" & i).Value = .Value
Range("O" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,19,0)"
Range("O" & i).Value = .Value
Range("P" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,22,0)"
Range("P" & i).Value = .Value
Range("T" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,23,0)"
Range("T" & i).Value = .Value
Range("U" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,28,0)"
Range("U" & i).Value = .Value
Range("V" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,29,0)"
Range("V" & i).Value = .Value
Range("W" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,37,0)"
Range("W" & i).Value = .Value
Range("X" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,38,0)"
Range("X" & i).Value = .Value
Range("Y" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,39,0)"
Range("Y" & i).Value = .Value
Range("Z" & i).Value = _
"=IFERROR(VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,41,0),"""")"
Range("Z" & i).Value = .Value
Range("AA" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,47,0)"
Range("AA" & i).Value = .Value
Range("AB" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,47,0)"
Range("AB" & i).Value = .Value
Range("AD" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,50,0)"
Range("AD" & i).Value = .Value
Range("AE" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,59,0)"
Range("AE" & i).Value = .Value
Range("AF" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,60,0)"
Range("AF" & i).Value = .Value
Range("AG" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,61,0)"
Range("AG" & i).Value = .Value
Range("AH" & i).Value = _
"=VLOOKUP(RC4,'\\RaiDrive-PC\NAS\taichanh\1.QLNPT\13.THU NO\1.A.TAI CHANH\[1. A_TAI CHANH - HUYEN- HDCP.xlsx]HD-CP'!R9C10:R5000C648,62,0)"
Range("AH" & i).Value = .Value
Next
End Sub