本示例演示:如果单元格 A1 有批注,那么弹出“Hello”信息框。
if Range("A1").Commented then
msgbox ("Hello")
endif