lp0042019.dkdn
Thành viên mới
- Tham gia
- 21/4/20
- Bài viết
- 16
- Được thích
- 2
Sub ChuaNhapGia()
Dim Cls As Range, Rng As Range
If Cells(1, "C").Value <> "" Then
Set Rng = Range([C1], [C65500].End(xlUp))
Else
Set Rng = Range([C1].End(xlDown), [C65500].End(xlUp))
End If
For Each Cls In Rng
If IsNumeric(Cls.Value) And Cls.Value <> "" And Cls.Offset(, 1).Value = "" Then
Cls.Offset(, 1).FormulaR1C1 = "=CNG" '<=| "
End If
Next Cls
End Sub