Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default Drop Down List Help

I am creating a drop down list however I want to allow the user to select
multiple items from the list.

Is this possible and if so how?

Thanks,
Jodie
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Drop Down List Help

Try Debra Dalgleish's sample file at:
http://www.contextures.com/excelfiles.html

Under Data Validation,
look for: DV0017 - Select Multiple Items from Dropdown List
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jodie" wrote:
I am creating a drop down list however I want to allow the user to select
multiple items from the list.

Is this possible and if so how?

Thanks,
Jodie

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default Drop Down List Help

Thank you for the reply however what exactly do I do with the code that she
tells the read to view?

I am a beginner and have no idea how to incorporate this code to the 2
columns of data that I would like to apply this to.

Thanks,
Jodie

"Max" wrote:

Try Debra Dalgleish's sample file at:
http://www.contextures.com/excelfiles.html

Under Data Validation,
look for: DV0017 - Select Multiple Items from Dropdown List
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jodie" wrote:
I am creating a drop down list however I want to allow the user to select
multiple items from the list.

Is this possible and if so how?

Thanks,
Jodie

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Drop Down List Help

Which example sheet in Debra's sample (she shows several example) best suits
what you're after?

Post in plain text here, more specifics about your sheet set-up, some sample
data and expected results
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jodie" wrote in message
...
Thank you for the reply however what exactly do I do with the code that
she
tells the read to view?

I am a beginner and have no idea how to incorporate this code to the 2
columns of data that I would like to apply this to.

Thanks,
Jodie



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default Drop Down List Help

The "samecell" worksheet is what I am trying to accomplish.

I have 2 columns of data that I would like to have the user select as Debra
shows in the "samcell" worksheet.

The user should be able to select any where from 1 to all items on the drop
down list for each column.

The columns I will need to have this code written for are column G titled
"ROOT CAUSE" and column H titled "ACTION".

Here is a sample of data from my worksheet using columns A thru I:

DPT CLASS SKU SKU DESCRIPTION UNIT FILL RATE SEGMENT ROOT CAUSE ACTION GET
WELL
29 9 174319 TP Holder 90% Seasonal Residual Push No action to take - all
IDCs empty NA

Thanks,
Jodie

"Max" wrote:

Which example sheet in Debra's sample (she shows several example) best suits
what you're after?

Post in plain text here, more specifics about your sheet set-up, some sample
data and expected results
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Jodie" wrote in message
...
Thank you for the reply however what exactly do I do with the code that
she
tells the read to view?

I am a beginner and have no idea how to incorporate this code to the 2
columns of data that I would like to apply this to.

Thanks,
Jodie






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Drop Down List Help

Try this in a copy of your book ..

Right-click on the Excel icon to the left of File on the main menu Choose
View Code

Copy n paste the workbook open code below (1) into the whitespace on the
right

'------ (1) -----
Option Explicit

Private Sub Workbook_Open()
ThisWorkbook.Sheets("SameCell") _
.Protect DrawingObjects:=True, _
contents:=True, Scenarios:=True, _
UserInterfaceOnly:=True
End Sub
'----------------

Press Alt+Q to get back to Excel

Right-click on the sheet (where you have the DV in col G. Col G = col "7")
choose View code


Copy n paste the sheet code below (2) into the whitespace on the right

'-------(2)------
Option Explicit

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rngDV As Range
Dim oldVal As String
Dim newVal As String
If Target.Count 1 Then GoTo exitHandler

On Error Resume Next
Set rngDV = Cells.SpecialCells(xlCellTypeAllValidation)
On Error GoTo exitHandler

If rngDV Is Nothing Then GoTo exitHandler

If Intersect(Target, rngDV) Is Nothing Then
'do nothing
Else
Application.EnableEvents = False
newVal = Target.Value
Application.Undo
oldVal = Target.Value
Target.Value = newVal
If Target.Column = 7 Then
If oldVal = "" Then
'do nothing
Else
If newVal = "" Then
'do nothing
Else
Target.Value = oldVal _
& ", " & newVal
End If
End If
End If
End If

exitHandler:
Application.EnableEvents = True
End Sub
'----------

Press Alt+Q to get back to Excel

Save the file, close it and re-open

Test out the DV you have in col G on this sheet. It should function as
desired.

I'm not savvy enough to amend Debra's code to make it work for col H as well
on the same sheet. Hang around awhile for insights from others versed in vba
to jump in.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


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
how do I use one drop-list to modify another drop-lists options? [email protected] Excel Discussion (Misc queries) 3 September 9th 07 05:46 PM
Using a drop-down list along with an auto-populate drop-down CrazyLostConfused Excel Discussion (Misc queries) 1 April 17th 07 12:10 AM
Drop Down List choice selecting another drop down list CVD0722 Excel Worksheet Functions 3 October 31st 06 01:02 PM
how do I link a drop down list entry to a new drop down cell? lmunzen Excel Discussion (Misc queries) 1 August 15th 06 04:59 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM


All times are GMT +1. The time now is 05:48 PM.

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"