Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
for each drpdwn in Activesheet.Dropdowns
svaldrop = drpdwn.Value ' record the result Next for each obtn in Activesheet.OptionButtons if obtn.Value = xlOn then sValoption = oBtn.Caption ' record the result. end if Next -- Regards, Tom Ogilvy "entonne" wrote in message ... I have a whole slew of excel files that contain data that I want to compile into a single excel sheet. I've been able to automatically grab the values in each file, but am having a terrible time trying to figure out how to grab the values of form controls. To be precise a few option buttons groups and drop down controls. I know you could do a cell link then just get the value from there, but unfortunately the designer didn't do that and I have over a hundred files. I'm pretty much lost. Is there any way to reference the value something like... excelfile.worksheet.dropdown1.value I've looked forever trying to find something, but I can't find anything. If anyone can point me in the right direction it would be much appreciated. Thanks -- entonne ------------------------------------------------------------------------ entonne's Profile: http://www.excelforum.com/member.php...o&userid=15039 View this thread: http://www.excelforum.com/showthread...hreadid=266568 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
dropdown with option | Excel Discussion (Misc queries) | |||
Help with Comparing values and retrieving values in Excel!!!!!! | Excel Worksheet Functions | |||
How do I change the cell colour per dropdown option? | Excel Discussion (Misc queries) | |||
keep source formatting is not an option in paste option button | Excel Discussion (Misc queries) | |||
Changing Option button values | Excel Programming |