SYMPTOMS
When you use the WordBasic.WaitCursor instruction to change the insertion
point to an hourglass, the insertion point is unaffected.
For example, the following statement should change the pointer to an
hourglass:
RESOLUTION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:
To resolve this problem, use the equivalent Visual Basic for Applications
Cursor property.
This example prints a message on the status bar and changes the pointer to
a busy pointer.
Sub WaitCursor()
StatusBar = "Please wait..."
For i = 1 To 10000
System.Cursor = wdCursorWait
Next i
StatusBar = "Task completed"
System.Cursor = wdCursorNormal
End Sub
For more information about the Cursor Property, from the Visual Basic
for Applications Editor, click the Office Assistant, type "Cursor
Property," click Search, and then click to view "Cursor Property."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft Help is not installed on your computer,
please see the following article in the Microsoft Knowledge Base:
179216 OFF98: How to Use the Microsoft Office Installer Program
REFERENCES
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications