Comment インターフェイス

定義

セルのコメントを表します。

public interface class Comment
[System.Runtime.InteropServices.Guid("00024427-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Comment
Public Interface Comment
属性

注釈

Comment オブジェクトは、Comments コレクションのメンバーです。

comment オブジェクトを取得するには、Comment プロパティを使用します。

Comments(index) を使用して、コメント番号をindexして、Comments コレクションから 1 つのコメントを返します。

AddComment(Object) メソッドを使用して、範囲にコメントを追加します。

プロパティ

名前 説明
Application

Microsoft Excel アプリケーションを表す Application オブジェクトを返します。

Author

コメントの作成者を設定または返します。

Creator

このオブジェクトを作成したアプリケーションを示す、32 ビットの整数値を返します。

Parent

指定されたオブジェクトの親オブジェクトを返します。

Shape

指定したコメントにアタッチされた図形を表す Shape オブジェクトを返します。

Visible

オブジェクトが表示されるかどうかを判断します。

メソッド

名前 説明
Delete()

オブジェクトを削除します。

Next()

次のコメントを表す Comment オブジェクトを返します。

Previous()

前のコメントを表す Comment オブジェクトを返します。

Text(Object, Object, Object)

コメントの文字列を設定します。

適用対象