MoveWhenInTheWay 属性

       

本主题中的某些内容可能不适用于某些语言。

如果当“Office 助手”窗口挡住用户工作区时,会自动移开,则返回 True。例如,如果“助手”窗口有碍于拖放操作或击键操作,它将自行移开。Boolean 类型,可读写。

说明

MoveWhenInTheWay 属性对应于“使用 Office 助手”下的“不方便时移动”选项,“使用 Office 助手”位于“Office 助手”对话框中的“选项”选项卡中。

示例

本示例在指定位置显示“Office 助手”窗口,并在显示该窗口之前设置若干选项。

With Assistant
    .On = True
    .Visible = True
    .Left = 400
    If Not MoveWhenInTheWay Then MoveWhenInTheWay = True
    .Animation = msoAnimationGetAttentionMajor
End With