The information in this article applies to:
SYMPTOMS
When you run a Visual Basic for Applications macro in Microsoft Excel,
if the macro uses the MsgBox function to display a message box on the screen, the pointer may appear as an hourglass or as the arrow pointer.
When you dismiss the message box, the pointer behaves normally again.
CAUSE
When you display a message box, the pointer behaves slightly differently
in Microsoft Excel 2000 than it does in versions of Microsoft Excel earlier than Excel 97.
RESOLUTION
If the pointer appears as an hourglass when you display a message box in
Microsoft Excel, move the pointer inside the message box.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty
either expressed or implied, including, but not limited to, the implied warranties of
merchantability and/or fitness for a particular purpose. This article assumes that you
are familiar with the programming language being demonstrated and the tools used to
create and debug procedures. Microsoft support professionals 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 needs. If you have limited
programming experience, you may want to contact a Microsoft Certified Solution Provider
or the Microsoft fee-based consulting line at (800) 936-5200. For more information about
Microsoft Certified Solution Providers, please see the following page on the World Wide Web:
http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.asp Example MacroThe following macro displays a message box:
To see the change in behavior, run the macro in Microsoft Excel 5.0 or
7.0, and Microsoft Excel 2000.
When you run the macro in Microsoft Excel 5.0 or 7.0, the pointer appears as a normal arrow pointer without regard to where you position it on the screen. In Microsoft Excel 2000, the pointer appears as a normal arrow pointer only when you position it inside the message box. Otherwise, it appears as an hourglass. When you click OK, the pointer behaves normally again. Pointer BehaviorTo properly reflect the fact that other macro processing halts temporarily, Microsoft Excel changes the pointer to an hourglass. The pointer appears as an hourglass when the following conditions are true:
Additional query words: 5.00c XL7 XL5 hang lock freeze stops responding crash XL2000
Keywords : kbdta kbdtacode OffVBA KbVBA xlvbmigrate |
Last Reviewed: July 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |