Hi,
need help please
i'm trying to create a drop down list which enables multiple selections,
which those selections will appear in a single cell, separated by commas.
thanks![]()
Hi,
need help please
i'm trying to create a drop down list which enables multiple selections,
which those selections will appear in a single cell, separated by commas.
thanks![]()
Monami My Friend, could you post a sample workbook? Before & after? ??
Pete
Hi Pete,
i wasn';t able to upload a file - hope the screen shot illustrates my question better
thanks,
M
Capture.PNG
Worksheet_change event is used.Pl see file.
K5 Validated cell, M5 is the destination cell.
If M5 is not having the value of K5, then pnly it will add. This avoids duplication.
code
![]()
Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = "$K$5" Then Application.EnableEvents = False If InStr(1, Range("M5"), Range("K5")) = 0 Then Range("M5") = Range("M5") & "," & Range("K5") End If Application.EnableEvents = True End If End Sub
Last edited by kvsrinivasamurthy; 12-09-2014 at 08:27 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks