Syntax
WaitCursor Wait
Remarks
Changes the mouse pointer from the current pointer to an hourglass or watch, or vice versa. Control of the pointer is restored to Word when the macro ends.
Argument | Explanation |
Wait | Specifies the mouse pointer to display: 0 (zero) The current pointer 1 The hourglass pointer (Windows) or watch pointer (Macintosh) |
Example
This example suppresses the hourglass or watch pointer for the first half of the total iterations of a For¼Next loop and then displays the hourglass or watch for the second half:
WaitCursor 0 For i = 1 To 1000 If i = 500 Then WaitCursor 1 Next I