ActiveWindow 属性

       

返回一个 DocumentWindow 对象,该对象代表当前文档窗口。只读。

示例

本示例将当前窗口最小化。

Application.ActiveWindow.WindowState = ppWindowMinimized