![]() |
| サイトマップ | |
|
トップ | オブジェクト | プロパティ | メソッド | 定数 |
Expanded プロパティ |
オブジェクト:ExcelItem, FitItem, GraphItem, MacroItem, NativeWorksheetItem, NotebookItem, ReportItem, TransformItem
ノートブックウィンドウのノートブックとセクションのプロパティです。ノートブックセクションのツリーを開閉したり、現在の表示に関するブール値 (True または False) を返します。
NotebookItems(1)
は、常に最初のセクションに該当します。
MsgBox ActiveDocument.NotebookItems(1).Expanded
ActiveDocument.NotebookItems(0).Expanded = False