XL5: Incorrect Results/GP Fault Double-Clicking Toolbar Area |
In Microsoft Excel, if you use the OnDoubleClick property in a Visual Basic
procedure, or the ON.DOUBLECLICK function in a version 4.0 macro to assign
a macro to run when you double-click on a worksheet or chart, one of the
following occurs when you double-click on the toolbars area:
This behavior occurs when you use the following in a Visual Basic procedure
Workbooks("BOOK1.XLS).Worksheets("Sheet1").OnDoubleClick = "Test"
or the following in a version 4.0 Macro
=ON.DOUBLECLICK("[Book1]Sheet1", "Macro1!Test")
to assign the macro TEST to run when you double-click on Sheet1 in
BOOK1.XLS, and you then double-click on the toolbars area.Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel version 5.0c.
You can use the OnDoubleClick property or the ON.DOUBLECLICK function to set the name of a macro to run whenever you double-click anywhere on the specified chart or sheet. When you run the procedure that contains this property, or the macro that contains this function, the assigned macro should not run when you double-click in the toolbar area. Instead, the toolbars dialog box should be displayed.
For more information about the OnDoubleClick Property, choose the Search button in the Visual Basic Reference and type:
OnDoubleClick PropertyFor more information about ON.DOUBLECLICK, choose the Search button in Microsoft Excel Macro Functions Help and type:
ON.DOUBLECLICK function
Additional query words: gpf
Keywords :
Version : 5.00
Platform : WINDOWS
Issue type :
Technology :
|
Last Reviewed: September 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |