thanhysong
MsJennyThu
- Tham gia
- 10/4/20
- Bài viết
- 7
- Được thích
- 0
Private Sub NUT1_Click()
Dim dong_cuoi As Long
dong_cuoi = SheetGIOTINH.Range("J16").End(xlUp).Row + 1
With SheetGIOTINH
.Range("J" & dong_cuoi) = txtNL.Value
.Range("K" & dong_cuoi) = txtNH.Value
.Range("L" & dong_cuoi) = txtNWX.Value
.Range("M" & dong_cuoi) = txtNWY.Value
End With
End Sub
Dim dong_cuoi As Long
dong_cuoi = SheetGIOTINH.Range("J16").End(xlUp).Row + 1
With SheetGIOTINH
.Range("J" & dong_cuoi) = txtNL.Value
.Range("K" & dong_cuoi) = txtNH.Value
.Range("L" & dong_cuoi) = txtNWX.Value
.Range("M" & dong_cuoi) = txtNWY.Value
End With
End Sub
Bài đã được tự động gộp:
báo sai tại hàm này ạdong_cuoi = SheetGIOTINH.Range("J16").End(xlUp).Row + 1