Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Checkbox with OPtion buttons

With Me.checkboxJL
If Me.checkboxJL.value = True Then
strJL = "JL"
Me.Frame1.OptionButton1.Enabled = True
Me.Frame1.OptionButton2.Enabled = True
Else

Me.Frame1.OptionButton1.Value = False
Me.Frame1.OptionButton2.Value = False
Me.Frame1.OptionButton1.Enabled = False
Me.Frame1.OptionButton2.Enabled = False
End If
End With

--
Regards,
Tom Ogilvy


"Steve" wrote in message
...
I have checkboxJL if it is on it has a value of JL. I then have 2

optionbuttons that are used also. If the checkbox is flase I want to make
sure that the user cannot click and turn on either one of the optionbuttons.
the optionsbuttons are within a frame. Currently right now the user could
turn on one of the option buttons weather the checkbox is true or false. How
do you code to make this happen? TIA

With Me.checkboxJL
If Me.checkboxJL.value = True Then
strJL = "JL"
Else
Me.checkboxJL = False
End If
End With
If obReqJL = True Then strJLtype = Required
If obOptJL = True Then strJLtype = Optional



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Checkbox with OPtion buttons

as always thanks tom
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
Option Buttons/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
option buttons neilb514 New Users to Excel 0 December 9th 07 09:28 PM
option buttons CAOU Excel Worksheet Functions 1 April 20th 06 09:17 AM
Option Buttons Mike Rogers Excel Discussion (Misc queries) 2 November 21st 05 07:33 PM
add size option to excel form checkbox TG Excel Discussion (Misc queries) 0 April 28th 05 09:20 PM


All times are GMT +1. The time now is 12:33 AM.

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

About Us

"It's about Microsoft Excel"