taxvy23
Thành viên mới

- Tham gia
- 25/7/24
- Bài viết
- 1
- Được thích
- 0
Em có chạy code highlight dòng theo con trỏ dưới đây, nhưng sau khi chạy thì em ko dùng phím tắt ctrl+v để paste được. Khi ctrl+c rồi chuyển sang ô khác thì nó không còn ghi dữ liệu để paste nữa
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error Resume Next
Cells.Interior.ColorIndex = 0
ActiveCell.EntireRow.Interior.ColorIndex = 8
Application.CutCopyMode = True
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error Resume Next
Cells.Interior.ColorIndex = 0
ActiveCell.EntireRow.Interior.ColorIndex = 8
Application.CutCopyMode = True
End Sub