Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Pole value of Option buttons

On 30 Jan, 20:33, Dave Peterson wrote:
I'd use:

* * Dim OLEObj As OLEObject * *
* * For Each OLEObj In Activesheet.OLEObjects
* * * * If TypeOf OLEObj.Object Is MSForms.OptionButton Then
* * * * * * msgbox OLEObj.Object.Value
* * * * End If
* * Next OLEObj

If you renamed any of your optionbuttons to avoid them in the loop, then my
suggestion won't work.


Dave Peterson


Works a treat !!!! Thanks Dave....

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/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
Option buttons: How to get the selected option from a group? naddad Excel Programming 5 December 21st 05 05:09 PM
Pole nazvov Miroslav Excel Programming 1 October 7th 05 02:21 PM
Navigating between option buttons is not selecting the option drhalter Excel Programming 1 June 3rd 05 02:28 PM
Navigating between option buttons is not selecting the option Gixxer_J_97[_2_] Excel Programming 4 June 2nd 05 02:50 PM


All times are GMT +1. The time now is 08:23 AM.

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"