语法
表达式.AddComment(Text)
表达式 一个代表 Range 对象的变量。
参数
返回值Comment
示例
本示例为第一张工作表中 E5 单元格添加批注。
Worksheets.Item(1).Range("E5").AddComment("Current Sales")