Hi Everyone,
I dont know what is wrong with my code, it is not functioning as I want to. What I am trying to do is to close those open items by choosing it on the combo box then change the value of the OPEN to CLOSED.
Here is my code.
Thank you in advance
Dim iMes As Integer
Dim strMessage As String
Dim Count As Long
If ComboBox1.Value = "" And ComboBox2.Value = "" Then
strMessage = ("Please Ensure Everything is Filled Up!")
iMes = MsgBox(strMessage, vbOKOnly)
Exit Sub
End If
Count = 5
Do While Range("A" & Count) <> ""
If Range("A" & Count) = ComboBox2.Value Then
Range("B" & Count) = "CLOSED"
Range("E" & Count) = ComboBox1.Value
End If
Count = Count + 1
Loop
Unload UserForm3
Bookmarks