Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Displaying and Hiding Radio Boxes

Hello,

I need to make Radio Boxes (created using the Control Toolbox on the
Excel sheet) to appear or disappear depending on the values generated
by a formula in a given cell on the spreadsheet.

Thanks

Lester
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Displaying and Hiding Radio Boxes

You'll want to set the Visible property of the option button within the
Worksheet_Calculate subroutine. For example...

Private Sub Worksheet_Calculate()
If Cells(1, 1).Value 0 Then
OptionButton1.Visible = True
Else
OptionButton1.Visible = False
End If
End Sub


"Lester" wrote in message
om...
Hello,

I need to make Radio Boxes (created using the Control Toolbox on the
Excel sheet) to appear or disappear depending on the values generated
by a formula in a given cell on the spreadsheet.

Thanks

Lester



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Displaying and Hiding Radio Boxes



Thanks so much it worked

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Using formulas to count tick boxes or radio buttons Frank Sheeran Excel Worksheet Functions 5 March 19th 09 05:29 PM
Radio buttons, check boxes in Excel 2007 smartgal Excel Discussion (Misc queries) 4 November 11th 08 06:52 PM
hiding/displaying rows CMD Excel Discussion (Misc queries) 3 November 22nd 06 05:37 PM
Collapsing/Hiding radio and macro buttons Lance Gray Excel Discussion (Misc queries) 1 December 20th 05 04:50 PM
Hiding / Displaying columns majesticaussies Excel Discussion (Misc queries) 1 September 14th 05 04:30 AM


All times are GMT +1. The time now is 06:40 PM.

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"