Macro linking order of two objects with contents of Cell A1

Status
Not open for further replies.

yorkshirelad

Board Regular
Joined
Aug 18, 2003
Messages
100
I posted this earlier but didn't get a positive response - my challenge is much clearer now and I would appreciate any help.

I have two objects (box1 and box2) on top of each other on a worksheet. Each of these objects contain hotspots which run a different set of macros.

I would like a macro that would allow the order of the two objects to be determined by the contents of a cell on the worksheet.

For example if cell A1 = 1 then box1 is on top, If cell A1 = 2, then box2 is on top.

Many thanks
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Status
Not open for further replies.

Forum statistics

Threads
1,181,623
Messages
5,931,015
Members
436,771
Latest member
kwicol

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
Top