Grouping Objects

NextYearSox

Active Member
Joined
Oct 24, 2003
Messages
287
I have a number of shapes that I am using as buttons (hotspots) to launch various subroutines (basically, they are being used as sorting buttons). I have these shapes grouped together such that they maintain their physical proximity to each other.

When each button is clicked, I'd like it to be highlighted (i.e., the background is turned yellow, or the text is bold, etc.). However, because they are grouped together, I am unable to do so within VB (I can manually). I thought that I might get around this problem by: (1) ungrouping the buttons; (2) highlighting the button; and (3) re-grouping the buttons. However, each time I regroup, the name of the group changes; so this doesn't seem to be a workable solution.

Any ideas on how to skin this particular cat?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,224,878
Messages
6,181,528
Members
453,053
Latest member
DavidKele

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top