PowerPoint) (Slide.Comments 属性

返回表示集合的评论的 评论 对象。 此为只读属性。

语法

表达式评论

表达 一个代表 Slide 对象的变量。

返回值

Comments

示例

以下示例在幻灯片中添加一个批注。

Sub AddNewComment()

    ActivePresentation.Slides(1).Comments.Add _
        Left:=0, Top:=0, Author:="John Doe", AuthorInitials:="jd", _
        Text:="Please check this spelling again before the next draft."

End Sub

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。