答案 0 :(得分:2)
你可以试试这个
Option Explicit
Sub main()
Dim myComm As Comment
Dim myInputString As String
myInputString = "blabla" 'suit it to your needs
For Each myComm In ActiveSheet.Comments
If myComm.Text = myInputString Then MsgBox myComm.parent.Value
Next
End Sub