Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I use one drop-list to modify another drop-lists options? | Excel Discussion (Misc queries) | |||
Using a drop-down list along with an auto-populate drop-down | Excel Discussion (Misc queries) | |||
Drop Down List choice selecting another drop down list | Excel Worksheet Functions | |||
how do I link a drop down list entry to a new drop down cell? | Excel Discussion (Misc queries) | |||
multiple select from the drop down list in excel. list in one sheet and drop down in | Excel Discussion (Misc queries) |