Em có đoạn code để chạy, nhưng mỗi lần xữ lý là hiện lên thông báo. Nhờ các pro giúp chỉnh lại code đễ tắt thông báo này ạ. Xin cám ơn các pro
Code:
Sub gop_o()
Dim i As Integer
For i = 200 To 5 Step -1
If Cells(i, 2) = Cells(i - 1, 2) Then
Range(Cells(i, 2), Cells(i - 1, 2)).Select
Selection.Merge
End If
Next i
Application.DisplayAlerts = False
End Sub
Code:
Sub gop_o()
Dim i As Integer
For i = 200 To 5 Step -1
If Cells(i, 2) = Cells(i - 1, 2) Then
Range(Cells(i, 2), Cells(i - 1, 2)).Select
Selection.Merge
End If
Next i
Application.DisplayAlerts = False
End Sub