I have this code in a combo box that deletes the name from a list in column BI. It works fine except, in the drop down view it still displays the name. The only way it gets updated is I unload the userform. How can I update the drop down view list without unloading the userform?
[VBA]Dim lRow
If MsgBox("Delete '" & cboName & "' from the database?", vbYesNo + vbQuestion, "PerDiem Traveler v" & Sheets("Security").Range("J2")) = vbYes Then
On Error Resume Next
lRow = Range("BI11", Range("BI" & Rows.Count).End(xlUp)) _
.Find(what:=cboName.Value, lookat:=xlWhole).Row
On Error GoTo 0
Range("BI" & lRow).Resize(, 4).ClearContents
MsgBox cboName & " has been deleted.", vbInformation, "PerDiem Traveler v" & Sheets("Security").Range("J2")
Range("BI11:BL500").Sort Key1:=Range("BI11"), Order1:=xlAscending, Header:=xlNo
Del2.Visible = False
End If
[/VBA]