Word) (Document.ContentControlAfterAdd 事件

會在將內容控制項新增至文件之後發生。

語法

運算式ContentControlAfterAdd' (NewContentControl**, InUndoRedo)

表達 會傳回 Document 物件的運算式。

參數

名稱 必要/選用 資料類型 描述
NewContentControl 必要 ContentControl 正在加入內容控制項。
InUndoRedo 必要 Boolean 會指定新增是否因為復原或取消復原的動作而發生。

註解

如需搭配 Document 物件使用事件的相關資訊,請參閱 搭配 Document 物件使用事件

另請參閱

Document 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應