This section of the Word VBA Reference contains documentation for all the objects, properties, methods, and events contained in the Word object model. **Note ...
There are two steps to creating an [object variable](vbe-glossary.md). First you must declare the object variable. Then you must assign a valid reference to the ...
Wordでマクロ記録を行うと、「Selection.」で始まるコードがよく作られます。 このSelectionは、Word文書上で選択されている箇所を表すSelectionオブジェクトを取得するための、Selectionプロパティです。 chapter 7では、SelectionプロパティとSelectionオブジェクトを見て ...
VBAで、自作のクラスから新しいオブジェクトを作成したとき、そのオブジェクトのプロパティ(内部データ)は、最初は空っぽの状態ですよね。使う前に、必ず、初期値を設定する、という一手間が必要になります。 この、オブジェクトの「初期化処理」を ...