MXL5: Wristwatch Mouse Cursor in Button Editor Using Macro

Last reviewed: February 2, 1998
Article ID: Q128712
The information in this article applies to:
  • Microsoft Excel for the Macintosh, versions 5.0, 5.0a
  • Microsoft Excel 98 Macintosh Edition

SYMPTOMS

In 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.

CAUSE

This 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).Edit

or 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.

WORKAROUNDS

To work around this problem, use any of the following methods.

Method 1

Use 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 2

Open the Button Editor dialog box from the Toolbar Button shortcut menu by following these steps:

  1. On the View menu, click Toolbars.

  2. Click Customize.

  3. Hold down CONTROL, and then click the toolbar button that you want to edit.

  4. On the Toolbar Button shortcut menu, click Edit Button Image.

The Button Editor dialog box appears, and the mouse cursor is an arrow as expected.

STATUS

Microsoft 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.

REFERENCES

For more information about ToolbarButton object methods, choose the Search button in Help and type:

    toolbarButton object


Additional query words: 5.00 5.00a 98
Keywords : xlmac kbprg
Version : MACINTOSH:5.0,5.0a,98
Platform : MACINTOSH
Issue type : kbbug
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.