LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Check box control

This would prevent the value from changing if the condition is met, however,
the checkbox is linked to another cell which has a formula that is supposed
to automatically change the value to 'true' or 'false' depending on user
input. If the user clicks the checkbox, it may not change based on the
sub-routine below, but will change the formula to the value of the checkbox,
thus rendering the box useless. This document contains 14 pairs of
checkboxes, 5 of which I would allow the user to select one of the two,
having the other value change based on the user selection, the other 9 pairs
are updated based on other data entered into the form elsewhere. If there is
another way to go about this instead of using checkboxes, please let me know.
Thanks.

"Jim Cone" wrote:

Code goes in the worksheet module.
'-------------
Private Sub CheckBox1_Click()
'If condition not met then checkbox value is False.
If Range("H49") < 100 Then
CheckBox1.Value = False
End If
End Sub
'-----------
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Robert Blankenship"
<Robert
wrote in message
What can be done to prevent the checkbox control from dimming when you
disable it? I need to prevent users from checking this box, yet allow the
box to be checked based on user input elsewhere. It appears that the dimming
is based off of the MS Windows System settings. This form is to be used by
other users on other machines. Protecting the document and the control, with
the control enabled does not prevent the user from selecting the checkbox.
Is there another way of preventing a user from checking the checkbox without
having to disable(dim) it?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I add a control check box to control other checkboxes? JGarland Excel Worksheet Functions 1 September 18th 08 12:26 PM
Check Box Tool or Control Tip BHatMJ Excel Discussion (Misc queries) 0 May 20th 08 06:52 AM
form control - check box irene c New Users to Excel 1 February 2nd 07 09:23 PM
deleting check control box Brad Excel Discussion (Misc queries) 1 September 29th 05 08:21 PM
Using a Check Box as a control item Dan G Excel Discussion (Misc queries) 2 December 14th 04 07:59 PM


All times are GMT +1. The time now is 11:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"