Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
BJ BJ is offline
external usenet poster
 
Posts: 51
Default Disable Control Checkboxes based on Option Button result

Hello All

I have two option buttons in a spreadsheet.

When one of these option buttons is selected, I'd like to disable several
control checkboxes.

How can I accomplish this?

Thanks.

BJ
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Disable Control Checkboxes based on Option Button result

Private Sub OptionButton1_Click()
If OptionButton1.Value = True Then
CheckBox1.Enabled = False
End If
End Sub

"BJ" [No Spam Please] wrote in message
...
Hello All

I have two option buttons in a spreadsheet.

When one of these option buttons is selected, I'd like to disable several
control checkboxes.

How can I accomplish this?

Thanks.

BJ



  #3   Report Post  
Posted to microsoft.public.excel.programming
BJ BJ is offline
external usenet poster
 
Posts: 51
Default Disable Control Checkboxes based on Option Button result

if I'm disabling multiple checkboxes are the additional conditions just added
or is there additional syntax required?

I added the multiple lines and nothing is working - i.e. the checkboxes are
not being disabled. Thanks.

e.g.,

Private Sub OptionButton1_Click()
If OptionButton1.Value = True Then
CheckBox1.Enabled = False
CheckBox2.Enabled = False
End If

"dman" wrote:

Private Sub OptionButton1_Click()
If OptionButton1.Value = True Then
CheckBox1.Enabled = False
End If
End Sub

"BJ" [No Spam Please] wrote in message
...
Hello All

I have two option buttons in a spreadsheet.

When one of these option buttons is selected, I'd like to disable several
control checkboxes.

How can I accomplish this?

Thanks.

BJ




  #4   Report Post  
Posted to microsoft.public.excel.programming
BJ BJ is offline
external usenet poster
 
Posts: 51
Default Disable Control Checkboxes based on Option Button result

Thanks dman

I think I figured it out ... appreciate the help.

BJ

"dman" wrote:

Private Sub OptionButton1_Click()
If OptionButton1.Value = True Then
CheckBox1.Enabled = False
End If
End Sub

"BJ" [No Spam Please] wrote in message
...
Hello All

I have two option buttons in a spreadsheet.

When one of these option buttons is selected, I'd like to disable several
control checkboxes.

How can I accomplish this?

Thanks.

BJ




Reply
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
reset ALL checkboxes (created with control toolbar) with the click of ONE BUTTON [email protected] Excel Programming 1 July 7th 07 07:27 PM
need help on how to grey out one option button in one group box based on the selection of another option button in another group box George Excel Programming 12 March 11th 07 02:08 PM
enable/disable checkboxes based on other data [email protected] Excel Programming 3 January 22nd 07 11:20 PM
Control Cell Link for Option Button based on value in a cell arunjoshi[_14_] Excel Programming 1 May 5th 04 02:19 AM
Control Cell Link for Option Button based on value in a cell arunjoshi[_13_] Excel Programming 0 May 4th 04 05:46 AM


All times are GMT +1. The time now is 06:22 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"