MoveWhenInTheWay Property

Microsoft Office Visual Basic

Some of the content in this topic may not be applicable to some languages.

True if the Office Assistant window automatically moves when it's in the way of the user's work area. For example, the Assistant will move if it's in the way of dragging or dropping or in the way of keystroke entries. Read/write Boolean.

Remarks

The default value is True. The MoveWhenInTheWay property corresponds to the Move when in the way option in the Use the Office Assistant section on the Options tab in the Office Assistant dialog box.

Example

This example displays the Office Assistant in a specific location and it sets several options before making the Assistant visible and active.

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