MXL5: Wristwatch Mouse Cursor in Button Editor Using MacroLast reviewed: February 2, 1998Article ID: Q128712 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you display the Button Editor dialog box by using a Visual Basic for Applications procedure or a Microsoft Excel version 4.0 macro, the pointer may be displayed as a wristwatch instead of as an arrow.
CAUSEThis behavior occurs when you use a macro to display the Button Editor dialog box. For example, when you run a Visual Basic for Applications procedure that contains the following command
Application.Toolbars(1).ToolbarButtons(1).Editor a macro that contains the following function
=Edit.Tool(1,1)the Button Editor dialog box appears, but the pointer is a wristwatch instead of an arrow. Note that even though the mouse pointer is a wristwatch, you can still use the pointer to edit the button image, choose OK, and so on. The pointer behaves as if it is an arrow, even though it is a wristwatch. This behavior does not occur if you display the Button Editor dialog box by choosing Edit Button Image from the Toolbar Button shortcut menu.
WORKAROUNDSTo work around this problem, use any of the following methods.
Method 1Use the cursor to edit the button image as desired even though it is a wristwatch instead of the arrow. Click OK or press RETURN when you have finished editing the button.
Method 2Open the Button Editor dialog box from the Toolbar Button shortcut menu by following these steps:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
REFERENCESFor more information about ToolbarButton object methods, choose the Search button in Help and type:
toolbarButton object |
Additional query words: 5.00 5.00a 98
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |