PC Review


Reply
Thread Tools Rate Thread

Data Validation. Multiple.

 
 
shapper
Guest
Posts: n/a
 
      26th Nov 2009
Hello,

I am using data validation on a cell that creates a option list from a
lookup table (range of cells).

Is there a way when I go to the cell to select multiple options and
those options are added to the cell as a CSV list?

Thanks,
Miguel
 
Reply With Quote
 
 
 
 
Patrick Molloy
Guest
Posts: n/a
 
      26th Nov 2009
I doubt it can be done with data validation.

maybe you could use the mouse's right click or double click event to open a
userform. it would then be quite easy to multi-select from a list.

eg listbox1 has been checked...

for item = 0 to listbox1.ListCount-1
if listbox1.Selected(item) then
text = text & "," & listbox1.List(item)
end if
next
Selection = mid(text,2)






"shapper" <(E-Mail Removed)> wrote in message
news:851c6043-fff2-4551-b67d-(E-Mail Removed)...
> Hello,
>
> I am using data validation on a cell that creates a option list from a
> lookup table (range of cells).
>
> Is there a way when I go to the cell to select multiple options and
> those options are added to the cell as a CSV list?
>
> Thanks,
> Miguel


 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      26th Nov 2009
See Debra Dalgleish's site for a downloadable sample workbook with event
code to get multiple selections from a DV dropdown.

http://www.contextures.on.ca/excelfiles.html#DV0017

Note that you can have the selections in an adjacent cell or in the same
cell.


Gord Dibben MS Excel MVP

On Thu, 26 Nov 2009 07:31:28 -0800 (PST), shapper <(E-Mail Removed)> wrote:

>Hello,
>
>I am using data validation on a cell that creates a option list from a
>lookup table (range of cells).
>
>Is there a way when I go to the cell to select multiple options and
>those options are added to the cell as a CSV list?
>
>Thanks,
>Miguel


 
Reply With Quote
 
Patrick Molloy
Guest
Posts: n/a
 
      26th Nov 2009
nice! She's saving the selected value, UNDO'ing the entry to retrieve the
original value and concatenating the new value to that. very good.



"Gord Dibben" <gorddibbATshawDOTca> wrote in message
news(E-Mail Removed)...
> See Debra Dalgleish's site for a downloadable sample workbook with event
> code to get multiple selections from a DV dropdown.
>
> http://www.contextures.on.ca/excelfiles.html#DV0017
>
> Note that you can have the selections in an adjacent cell or in the same
> cell.
>
>
> Gord Dibben MS Excel MVP
>
> On Thu, 26 Nov 2009 07:31:28 -0800 (PST), shapper <(E-Mail Removed)>
> wrote:
>
>>Hello,
>>
>>I am using data validation on a cell that creates a option list from a
>>lookup table (range of cells).
>>
>>Is there a way when I go to the cell to select multiple options and
>>those options are added to the cell as a CSV list?
>>
>>Thanks,
>>Miguel

>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      26th Nov 2009
Debra does nice work.


Gord

On Thu, 26 Nov 2009 19:00:23 -0000, "Patrick Molloy"
<(E-Mail Removed)> wrote:

>nice! She's saving the selected value, UNDO'ing the entry to retrieve the
>original value and concatenating the new value to that. very good.
>
>
>
>"Gord Dibben" <gorddibbATshawDOTca> wrote in message
>news(E-Mail Removed)...
>> See Debra Dalgleish's site for a downloadable sample workbook with event
>> code to get multiple selections from a DV dropdown.
>>
>> http://www.contextures.on.ca/excelfiles.html#DV0017
>>
>> Note that you can have the selections in an adjacent cell or in the same
>> cell.
>>
>>
>> Gord Dibben MS Excel MVP
>>
>> On Thu, 26 Nov 2009 07:31:28 -0800 (PST), shapper <(E-Mail Removed)>
>> wrote:
>>
>>>Hello,
>>>
>>>I am using data validation on a cell that creates a option list from a
>>>lookup table (range of cells).
>>>
>>>Is there a way when I go to the cell to select multiple options and
>>>those options are added to the cell as a CSV list?
>>>
>>>Thanks,
>>>Miguel

>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple data validation Fiver Microsoft Excel Misc 3 26th Jul 2009 04:41 PM
Multiple Data Validation JStiehl Microsoft Excel Misc 7 1st Jul 2009 04:50 PM
multiple data validation aditya Microsoft Excel Misc 6 27th May 2009 01:31 PM
multiple data validation aditya Microsoft Excel Misc 0 27th May 2009 01:14 PM
Multiple Data Validation VoxBox-Richard Microsoft Excel Worksheet Functions 3 29th Jul 2008 01:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:36 AM.