Edytuj

Udostępnij za pośrednictwem


_Workbook.Author Property

Definition

Returns or sets the author of the comment. Read-only String.

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

Property Value

Returns String.

Examples

This example deletes all comments added by Jean Selva on the active sheet.

<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>

This example deletes all comments added by Jean Selva on the active sheet.

<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>

This example deletes all comments added by Jean Selva on the active sheet.

<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>

Applies to