Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Enabling more than one option button

Hi all,

Once again thanks for all the help.

My next problem is that i have 3 frames and each frame has about 6
option buttons in. The problem is that i would like to have a reset
button that will reset all option button at once.
Would one have to put under the reset button

OptionButton_905.enabled = True

For each option button or is there shorter code that will do them all ?

Tempy

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Enabling more than one option button

Dim cntrl as control
for each cntrl in Userform1.controls
if typeof cntrl is MSforms.OptionButton
cntrl.Value = False
end if
Next

--
Regards,
Tom Ogilvy


"Tempy" wrote in message
...
Hi all,

Once again thanks for all the help.

My next problem is that i have 3 frames and each frame has about 6
option buttons in. The problem is that i would like to have a reset
button that will reset all option button at once.
Would one have to put under the reset button

OptionButton_905.enabled = True

For each option button or is there shorter code that will do them all ?

Tempy

*** Sent via Developersdex http://www.developersdex.com ***



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Enabling more than one option button

18 buttons is not that many when you copy and paste, and then just change
the number.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tempy" wrote in message
...
Hi all,

Once again thanks for all the help.

My next problem is that i have 3 frames and each frame has about 6
option buttons in. The problem is that i would like to have a reset
button that will reset all option button at once.
Would one have to put under the reset button

OptionButton_905.enabled = True

For each option button or is there shorter code that will do them all ?

Tempy

*** Sent via Developersdex http://www.developersdex.com ***



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Enabling more than one option button

Thanks so much Thom,

Have a great weekend, i am almost outa here !!

It is 15:50 here.

Tempy

*** Sent via Developersdex http://www.developersdex.com ***
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
Enabling voting button kd Excel Discussion (Misc queries) 0 April 24th 08 09:36 AM
keep source formatting is not an option in paste option button Tina Excel Discussion (Misc queries) 0 February 20th 06 09:58 PM
Disabling/enabling events with a button created by code?? Simon Lloyd[_518_] Excel Programming 5 July 7th 04 12:09 PM
Conditional Button Enabling based on Checkbox Todd uttenstine Excel Programming 11 November 25th 03 12:45 PM
Button Enabling based on check in checkbox Todd Huttenstine[_2_] Excel Programming 2 November 25th 03 04:56 AM


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