Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default pick from list

Hi,

I hope someone can help me... is there a way to have a combobox on a
userform get its list populated from the contents of 'pick from list' (that
you have when you right click on a cell in a table of data)? I want the
combobox to have a list based on what has already been entered in the
column, but not include duplicates (so even if i can't access the values i
'pick from list', maybe there is some other way?).

i hope that makes sense, tia,

Tim


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default pick from list

Not directly.

You can build a list of uniques using a collection object or a dictionary
object. See John Walkenbach's site for an example.


http://www.j-walk.com/ss/excel/tips/tip47.htm

--
Regards,
Tom Ogilvy

"Tim Marsh" wrote:

Hi,

I hope someone can help me... is there a way to have a combobox on a
userform get its list populated from the contents of 'pick from list' (that
you have when you right click on a cell in a table of data)? I want the
combobox to have a list based on what has already been entered in the
column, but not include duplicates (so even if i can't access the values i
'pick from list', maybe there is some other way?).

i hope that makes sense, tia,

Tim



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default pick from list

thanks Tom. modified as required and working perfectly.

(",)

"Tom Ogilvy" wrote in message
...
Not directly.

You can build a list of uniques using a collection object or a dictionary
object. See John Walkenbach's site for an example.


http://www.j-walk.com/ss/excel/tips/tip47.htm

--
Regards,
Tom Ogilvy

"Tim Marsh" wrote:

Hi,

I hope someone can help me... is there a way to have a combobox on a
userform get its list populated from the contents of 'pick from list'
(that
you have when you right click on a cell in a table of data)? I want the
combobox to have a list based on what has already been entered in the
column, but not include duplicates (so even if i can't access the values
i
'pick from list', maybe there is some other way?).

i hope that makes sense, tia,

Tim





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
Look up list of values based on single value from pick list Donal P Excel Discussion (Misc queries) 3 August 13th 07 08:43 PM
Pick List Box Lee New Users to Excel 2 October 13th 05 06:22 PM
Making pick list conditional on selection from previous pick list Stewart Excel Discussion (Misc queries) 1 June 27th 05 11:30 AM
Pick list Antonio Guillen Excel Discussion (Misc queries) 3 March 12th 05 03:24 PM
Pick From List Barry Excel Discussion (Misc queries) 1 December 23rd 04 01:08 PM


All times are GMT +1. The time now is 11:10 PM.

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"