Indented, this is what your code looks like:
Code:
If (WorkOrderType = "Renewal") Then
If MsgBox("I found this WorkOrder is still OPEN, Shall I close it for you?", vbQuestion + vbYesNo, "WorkOrder Association Query") = vbYes Then
Me.CloseDate = Date - 1
ElseIf (WorkOrderType = "Deactivation") Then
ElseIf MsgBox("I found this OPEN WorkOrder, Shall I close it for you?", vbQuestion + vbYesNo, "WorkOrder Association Query") = vbYes Then
Me.CloseDate = Date
Else
End If
End If
I doubt that is what you want, is it?