Article ID: 160004
Article Last Modified on 8/17/2005
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Excel 95 Standard Edition
- Microsoft Excel 5.0 Standard Edition
- Microsoft Excel 98 for Macintosh
This article was previously published under Q160004
SYMPTOMS
When you group two or more drawing objects on a worksheet, assign separate
macros to each of the different objects that make up the group, and then
click an object in the group, Microsoft Excel runs the macro that is
assigned to the object you clicked.
CAUSE
You cannot run one macro that is assigned to a group of objects when you
click an object that belongs to a group (unless you assign the same macro
to each object in the group).
WORKAROUND
If you want each object in a group to run the same macro, and each object
is assigned to a separate macro, ungroup the set, reassign the same macro
to each object, and then regroup the objects.
REFERENCES
For more information about grouping objects, click the Index tab in
Microsoft Excel 97 Help, type the following text
and then double-click the selected text to go to the "Group, ungroup,
regroup drawing objects" topic.
Additional query words: XL98 XL97 XL7 XL5 XL
Keywords: kbprogramming kbprb KB160004