Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Control on Sheet - Drop Down 1

Hello,

I have named range linked to a drop down in a sheet.
Am having trouble finding the correct syntax to pull the string selected
from the drop down€¦ Once I have that I am good to go.

Thanks,
Arturo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Control on Sheet - Drop Down 1

What kind of dropdown

Data=Validation

res = Range("B9").Value
if the validation is applied to B9

Control Toolbox Toolbar

res = Activesheet.Combobox1.Value

Dropdown from the Forms Toolbar

With Activesheet.DropDowns("Drop Down 1")
res = .List(.Listindex)
End With


msgbox res

--
Regards,
Tom Ogilvy

"Arturo" wrote in message
...
Hello,

I have named range linked to a drop down in a sheet.
Am having trouble finding the correct syntax to pull the string selected
from the drop down. Once I have that I am good to go.

Thanks,
Arturo



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Control on Sheet - Drop Down 1

Dropdown from the Forms Toolbar ...
Should have been more specifc.
Thanks!

"Tom Ogilvy" wrote:

What kind of dropdown

Data=Validation

res = Range("B9").Value
if the validation is applied to B9

Control Toolbox Toolbar

res = Activesheet.Combobox1.Value

Dropdown from the Forms Toolbar

With Activesheet.DropDowns("Drop Down 1")
res = .List(.Listindex)
End With


msgbox res

--
Regards,
Tom Ogilvy

"Arturo" wrote in message
...
Hello,

I have named range linked to a drop down in a sheet.
Am having trouble finding the correct syntax to pull the string selected
from the drop down. Once I have that I am good to go.

Thanks,
Arturo




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
Making a drop down control to choose a data series WallyWallWhackr Charts and Charting in Excel 0 June 30th 09 08:22 AM
How to control drop down list width DocBrown Excel Worksheet Functions 4 March 17th 09 06:03 PM
Cannot enter control for drop down box Ken Excel Worksheet Functions 2 October 5th 07 02:00 PM
Drop Down Form control always causes excel to crash headly Excel Discussion (Misc queries) 1 June 22nd 06 03:38 AM
Control Display of Drop Down List in Validation dschlamp17 Excel Worksheet Functions 1 March 28th 06 11:25 PM


All times are GMT +1. The time now is 02:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"