@ djbomaha
Use Application.Match instead of Worksheetfunction.Match. In case of error code doesn't go into debug and you don't need that entire error-routine.
Just check value of variable is enough to choose how to proceed.
Sub UpdateB()
Dim txtA As String, mRow As Long, i as Long
Set wshB = Sheets("B")
txtA = InputBox("What is value to be searched?", "Search Value")
With Sheets("B")
mRow = Application.Match(txtA, .Columns("A"), 0)
If Not IsError(mRow) Then
For i = 10 To 13
.Cells(mRow, i) = InputBox("What is value for Column " & Chr(64 + i) & "?", Chr(64 + i) & " Value")
Next i
Else: MsgBox "Sorry, non existing value."
End If
End With
MsgBox "You're done, great!"
End Sub
Bookmarks