annadinesh
Board Regular
- Joined
- Mar 1, 2017
- Messages
- 128
- Office Version
- 2019
- Platform
- Windows
Dear Experts
I am using this formula and it was working fine.
Dim FindString As String
Dim rng As Range
BackInp:
FindString = InputBox("Enter VIN Number to Search")
If Len(FindString) < 17 Then
MsgBox "VIN Number must be 17 Charachter"
GoTo BackInp
end if
but input box was not close on pressing Cancel or cross button
i want that if i press cancel button on input box it should close
Please advice
Regards
Dinesh
I am using this formula and it was working fine.
Dim FindString As String
Dim rng As Range
BackInp:
FindString = InputBox("Enter VIN Number to Search")
If Len(FindString) < 17 Then
MsgBox "VIN Number must be 17 Charachter"
GoTo BackInp
end if
but input box was not close on pressing Cancel or cross button
i want that if i press cancel button on input box it should close
Please advice
Regards
Dinesh