linking check box to a formula

bcwill

New Member
Joined
Feb 19, 2002
Messages
1
Want to simplfy a large tracking spread sheet. Looking for a way to link a check box to generating the current date. Anyone figure this out before?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I have recently discovered the benefits of combo-boxes and drop down lists for large spreadsheets. If you explain more about what you're trying to do I may be able to help.

Denise
 
Upvote 0
BC, I picture the following lending itself to what you're talking about.

Dim cb As CheckBox

For Each cb In yourDlg.CheckBoxes
If cb.Value = xlOn Then
application.run("YOUR MACRO NAME")
End If
Next cb

Substitue yourDlg for the name of your Dialog and "YOUR MACRO NAME" for the name of a macro that generates the date (MsgBox (Date)), etc...

borrowed this from:

http://www.mrexcel.com/board/viewtopic.php?mode=viewtopic&topic=201&forum=2&start=0

Cheers,

Nate
This message was edited by NateO on 2002-02-20 15:35
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,487
Members
448,967
Latest member
visheshkotha

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