RE: Checkbox & Combo Box help

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



hi,
you will have to add code to EACH checkbox to uncheck other checkboxes. this
could get complcated depending on how may check boxes you have and how many
configurations you can have. but here is simple code for 2 check boxes. as
one is checked, the other is unchecked.
Private Sub CheckBox1_Click()
If CheckBox1.Value = True Then
CheckBox2.Value = False
End If
End Sub

Private Sub CheckBox2_Click()
If CheckBox2.Value = True Then
CheckBox1.Value = False
End If
End Sub

this may not solve your whole problem but maybe it will get you started
regards
FSt1

"Sweetpea" wrote:


I just started working as an intern for a building contractor and was
given this assignment. When people are having a house built, they need
to choose different options and upgrades. One of the upgrades is for
paint. I have very little experience with excel but managed to get
most of it to work with functions and links but now I'm stuck. :(
After a couple weeks of digging into the help features and having only
suffered two nervous breakdowns, I've almost got it figured out!... but
I need help on a couple things.

If a client is choosing different upgrade features and has for
instance, chosen the Master Bedroom in Red, both the master bedroom
checkbox would be checked and the combo box would be set to red. Now,
if the client decides to go with the standard features, they would then
click the option button for "Standard Features". *Here's the problem:*
The Checkbox and Combo box for the Master bedroom doesn't reset. Does
anybody know a macro, link, function or any other way to make it so
that once somebody changes their mind and goes back to standard
features, all the upgraded features reset to the unchecked state and
the "Choose Color" state?

Any help would be GREATLY appreciated!

Thank you!


+-------------------------------------------------------------------+
|Filename: Paint Upgrades.zip |
|Download: http://www.excelforum.com/attachment.php?postid=5043 |
+-------------------------------------------------------------------+

--
Sweetpea
------------------------------------------------------------------------
Sweetpea's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=36419
View this thread: http://www.excelforum.com/showthread.php?threadid=561926


.



Relevant Pages

  • Re: Checkbox & Combo Box help
    ... assign this macto to the Standard Features button, ... After a couple weeks of digging into the help features and having only ... If a client is choosing different upgrade features and has for ... The Checkbox and Combo box for the Master bedroom doesn't reset. ...
    (microsoft.public.excel.programming)
  • Re: oncheckedchanged event is not firing everytime on checkbox
    ... Twice checking/unchecking on the client without postback ... One checkbox is deselected ... check uncheck other pages. ... - change events fire ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: oncheckedchanged event is not firing everytime on checkbox
    ... Thanks for you indepth analysis of the problem and yes there is a postback ... checkbox to true, but now the question with us is how to solve the problem ... > check uncheck other pages. ... > - change events fire ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: using onchange to retrieve a checkbox value.
    ... I apologise if this i not what you would call a PHP problem. ... When a checkbox is checked or unchecked, ... When I check a box, everything works great, the database ... when I 'uncheck' the box. ...
    (comp.lang.php)
  • Re: calendar question?
    ... the day to see what daily tasks aren't complete yet and which ones are. ... The second method is to run an update query to uncheck the boxes. ... must be reset when the task is completed and checked. ... But I have a task table that has a checkbox column at the ...
    (microsoft.public.access.formscoding)