ナビゲーション: EmEditor ヘルプ > マクロ リファレンス > Editor オブジェクト > プロパティ
EmEditor マクロ リファレンス: ActiveDocument プロパティ
現在開いている Document オブジェクトを返します。
doc = editor.ActiveDocument;
Set doc = editor.ActiveDocument
EmEditor Professional Version 4.00 以上で利用できます。