sharky12345
Well-known Member
- Joined
- Aug 5, 2010
- Messages
- 3,421
- Office Version
- 2016
- Platform
- Windows
I need to update a column for each item selected in a Multi Select Listbox on a Userform.
I'm using this to load the Listbox;
I need to update column F for each selected value with "YES" if someone can show me how please?
I'm using this to load the Listbox;
Code:
With Sheet5
Dim Cl As Range
Dim Lst As String
For Each Cl In Range("A2:A42")
If Cl <> "" And Cl.Offset(, 2).Value > 1 Then
If Lst = "" Then
Lst = Cl.Value
Else
Lst = Lst & "," & Cl.Value
End If
End If
Next Cl
ListBox1.List = Split(Lst, ",")
End With
I need to update column F for each selected value with "YES" if someone can show me how please?
Last edited: