ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Chosen opton button (https://www.excelbanter.com/excel-programming/445010-chosen-opton-button.html)

David

Chosen opton button
 
Suppose you have a form with a number of option buttons (radio buttons).
How can I know which option button has been selected by the user?
I have to check thru them all with a for loop?


TIA,
David

Harald Staff[_2_]

Chosen opton button
 
You can have their Click or Change event set a variable and read that
whenever you need to.

Best wishes Harald

"David" wrote in message
.. .
Suppose you have a form with a number of option buttons (radio buttons).
How can I know which option button has been selected by the user?
I have to check thru them all with a for loop?


TIA,
David



David

Chosen opton button
 
Il Mon, 3 Oct 2011 21:02:56 +0200, Harald Staff ha scritto:

You can have their Click or Change event set a variable and read that
whenever you need to.


Yep! The classical Columbus's egg.

Thanks
David


All times are GMT +1. The time now is 04:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com