_Workbook.Comments 属性

定义

返回一个 Comments 集合,该集合代表指定工作表的所有注释。 此为只读属性。

public:
 property System::String ^ Comments { System::String ^ get(); void set(System::String ^ value); };
public string Comments { get; set; }
Public Property Comments As String

属性值

返回 String

示例

本示例删除活动工作表中由 Jean Selva 添加的所有批注。

<span class="label">For Each c in ActiveSheet.Comments     If c.</span>
<i>Author</i>
<span class="label">= "Jean Selva" Then c.Delete Next</span>

本示例删除活动工作表中由 Jean Selva 添加的所有批注。

<span class="label">For Each c in ActiveSheet.Comments     If c.</span>
<i>Author</i>
<span class="label">= "Jean Selva" Then c.Delete Next</span>

本示例删除活动工作表中由 Jean Selva 添加的所有批注。

<span class="label">For Each c in ActiveSheet.Comments     If c.</span>
<i>Author</i>
<span class="label">= "Jean Selva" Then c.Delete Next</span>

适用于