Simple check box macros

bademployee

Board Regular
Joined
Aug 19, 2010
Messages
184
Hi all,

I know very little about macros, would appreciated if someone could assist with the following:



When check box 1 is checked, I want a value to appear in B4 (B3*10%) and check box 2 to become unchecked

When check box 2 is checked I want check box 1 to become unchecked and the value in B4 to clear.

Thanks for any help in advance.

Mark
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
No need for a macro. I'd use Option Buttons and set the linked cell to an obscure cell, then just use a formula:

=IF(B1=1,B3*0.1,"")

The Option Buttons are tied to eachother, so the first will return a value of 1, the second a 2, both of which you can test against.

HTH,
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,738
Members
452,940
Latest member
Lawrenceiow

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