Moves the Office Assistant to the specified location.

Note
The Microsoft Office Assistant and AnswerWizard have been depreciated in the release of the Microsoft Office system.

Syntax

expression.Move(xLeft, yTop)

expression Required. A variable that represents an object.

Parameters

Name Required/Optional Data Type Description
xLeft Required Integer The left position of the Office Assistant window, in points.
yTop Required Integer The top position of the Office Assistant window, in points.

Example

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

Visual Basic for Applications
With Assistant .Reduced = True .Move xLeft:= 400, yTop:= 300 .MoveWhenInTheWay = True .TipOfDay = True .Visible = True .Animation = msoAnimationGreeting End With

See also: