Thử code này xem:Mình có 2 sheet, sheet1 la kí hiệu, sheet2 là chú thích, mình tạo 1 nút button khi nhấp vào đó thì sheet1 hiện lên Comment trong lời chú thích.
Sub AddCom()
Dim Clls As Range
On Error Resume Next
With Sheet2.Range("C3").CurrentRegion
For Each Clls In Application.InputBox("Chon vung ma ban muon Add Comment", Type:=8)
Clls.Comment.Delete
Clls.AddComment .Find(Clls, Lookat:=xlWhole)(, 2).Value
Next
End With
End Sub