Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

PRB: Mouse Cursor Flickers Between Pointer and Hourglass When Writing to Excel Through Automation


View products that this article applies to.

Symptoms

When you write to 64 or more cells in a worksheet with the object model of Excel (that is, through Visual Basic for Applications (VBA) or by Automation), the mouse cursor flickers between a pointer and hourglass icon.

↑ Back to the top


Cause

Excel is keeping the user informed about operations that may require a wait. However, if the operation is relatively quick, the user may experience a flicker when the mouse cursor is changed to an hourglass and back again.

↑ Back to the top


Resolution

If the flicker is unacceptable in your implementation, you can work around the problem by splitting up the arrays you write into 63 cell blocks, which avoids the code in Excel that changes the mouse cursor to an hourglass.

↑ Back to the top


Keywords: KB281851, kbprb, kbnofix, kbautomation

↑ Back to the top

Article Info
Article ID : 281851
Revision : 4
Created on : 10/2/2003
Published on : 10/2/2003
Exists online : False
Views : 204