Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ann Ann is offline
external usenet poster
 
Posts: 1
Default Option buttons - disabling

Hi
is it possible to disable option buttons on a sheet (not a
user form) eg: I have two sets of option buttons - what I
want to do is if the user clicks on one set then the other
set becomes greyed out and disabled and vice versa - I
found out from a very helpful person how to do this on a
form but my job does not want me to do this on a form but
on a normal sheet with option buttons.
Please help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Option buttons - disabling

Ann,

You can disable an option button from the Forms command bar with
code like

Dim WS As Worksheet
Set WS = ActiveSheet
WS.OptionButtons(1).Enabled = False


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Ann" wrote in message
...
Hi
is it possible to disable option buttons on a sheet (not a
user form) eg: I have two sets of option buttons - what I
want to do is if the user clicks on one set then the other
set becomes greyed out and disabled and vice versa - I
found out from a very helpful person how to do this on a
form but my job does not want me to do this on a form but
on a normal sheet with option buttons.
Please help.



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 gramps Excel Discussion (Misc queries) 1 September 15th 08 11:20 PM
Option Buttons/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
Option Buttons Mike Rogers Excel Discussion (Misc queries) 2 November 21st 05 07:33 PM
Option Buttons Grant90 Excel Discussion (Misc queries) 1 July 29th 05 02:34 PM
Option Buttons Ashman Excel Discussion (Misc queries) 2 July 10th 05 08:24 PM


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