LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default set value of activex control group

for each obj in Activesheet.OleObject
if typeof obj.Object is MSForms.OptionButton then
obj.Object.Value = Fasle
end if
Next

--
regards,
Tom Ogilvy

"deKidd" wrote in message
...
Is there a way (using vb script) to set the value of activex controls

within
a group? I can set the value on individual controls, but when I tried
grouping them all together to set value on the group it fails. My

spreadsheet
has some 20+ activex controls (optionbuttons) & I need a way to reset them
all to "false" without having 20 lines of code to set each control value.

Any
suggestions?



 
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
2007 Form Control/ActiveX Control font difference Nikko963 Excel Discussion (Misc queries) 0 April 15th 09 04:21 PM
ActiveX Control text box Mary Thomas Excel Worksheet Functions 6 September 21st 08 12:15 PM
sumif from activeX control CraigSA Excel Worksheet Functions 1 March 31st 06 01:47 PM
Tab to an ActiveX control? Karin Excel Discussion (Misc queries) 0 July 6th 05 05:08 AM
ActiveX control jacob Excel Programming 1 November 22nd 03 06:03 PM


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