![]() |
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. |
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. |
All times are GMT +1. The time now is 03:44 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com