The information in this article applies to:
SYMPTOMSIf you press ALT, and then click a drawing object, a Visual Basic for Applications macro that is assigned to the drawing object does not run. Instead, the drawing object is selected. CAUSEClicking a drawing object or an AutoShape behaves differently in Microsoft Excel 2000 than it does versions of Microsoft Excel earlier than Excel 97. MORE INFORMATIONAssigning a MacroIn Microsoft Excel, you can assign a macro to a drawing object or an AutoShape. When you click the drawing object or AutoShape, the assigned macro runs. To assign a macro to a drawing object, follow these steps:
Clicking a Drawing ObjectAfter you assign a macro to a drawing object or an AutoShape, you can run the macro by clicking the object. If no macro is assigned to the drawing object, clicking the drawing object selects it.Right-Clicking a Drawing ObjectIf you right-click a drawing object or an AutoShape, a shortcut menu appears. The shortcut menu contains menu commands that pertain to the drawing object. If you then press ESC, the drawing object remains selected. If a macro is assigned to the drawing object, it does not run.Pressing ALTIn versions of Microsoft Excel earlier than Excel 97, you can run the macro that is assigned to a drawing object by pressing ALT and clicking the drawing object. In Microsoft Excel 2000, doing this selects the drawing object but does not run the macro.Pressing CTRLIn all versions of Microsoft Excel, you can select a drawing object or an AutoShape by pressing CTRL and clicking the drawing object.Pressing SHIFTIn all versions of Microsoft Excel, if no macro is assigned to a drawing object, you can select it by pressing SHIFT and clicking the drawing object. If a macro is assigned to the drawing object, pressing SHIFT while clicking the drawing object runs the macro.Additional query words: XL2000
Keywords : kbprg kbdta kbnewfeature kbdtacode OffVBA xldraw KbVBA xlvbmigrate |
Last Reviewed: July 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |