Nhờ các bạn giúp mình code chèn công thức dưới đây
Range("G3").Select
ActiveCell.FormulaR1C1 = "=VLOOKUP(RC5,'[Current Block STock Dec14.xlsx]3Dec14'!R2C9:R5000C14,R1C,0)"
Trong đó tên file thay đổi theo tháng và tên sheet theo ngày hiện tai.
Range("G3").Select
ActiveCell.FormulaR1C1 = "=VLOOKUP(RC5,'[Current Block STock Dec14.xlsx]3Dec14'!R2C9:R5000C14,R1C,0)"
Trong đó tên file thay đổi theo tháng và tên sheet theo ngày hiện tai.

