Help! Per earlier post re:show/hide controls based on checkbox ev

G

Guest

I have grouped 8 radio buttons, and given them the same Tag name of
"mdcode".
how to I make this group visible when a checkbox "checkbox76" has a
value of 0 and hide the group when the checkbox value is -1?

Looking for a simple code.....need help ASAP! All advice gratefully accepted!

Thanks,
LSB
 
D

Douglas J. Steele

Are they independent radio buttons, or have you put them in a control group?
If they're in a control group, it should be sufficient to set the control
group's Visible property to False.

Otherwise:

Dim ctlCurr As Control

For Each ctlCurr In Me.Controls
If ctlCurr.Tag = "mdcode" Then
cltCurr.Visible = Not Me.Checkbox76
End If
Next ctlCurr
 
L

lsb

Where do I put this code? which event procdure runs it? The checkbox,
the current form?
I'm a novice at this...sorry to sound so lame!

Thanks!
LB
 
G

Guest

I have them grouped - but I can't assign any event procedures to the group.
Where should the code be placed? In and event procedure for the check box,
or on the current form? I'm truly new at this - and found much success
through these forums. I appreciate your help so much!

Thanks!
LB
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 
E

eos

AUTO-REPLY From George Levitt

Please allow this to confirm a system receipt of your e-mail.

I am out of the office until Wednesday morning (1/12/05) and will not be
reviewing or responding to email or voicemail until that time.

I look forward to replying to your message on Wednesday.

Thanks and warmest regards, George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top