rhombus4
Well-known Member
- Joined
- May 26, 2010
- Messages
- 586
- Office Version
- 365
- 2016
- Platform
- Windows
Hi
Trying to find a Value in a Column using code below
The column contains text, numbers that are actually text and some numbers. Need it to find Text, find numbers if they are text and numbers
Also need it to show the value to the right of it in col D in a message box
Trying to find a Value in a Column using code below
The column contains text, numbers that are actually text and some numbers. Need it to find Text, find numbers if they are text and numbers
Also need it to show the value to the right of it in col D in a message box
VBA Code:
If Not IsError(Application.Match(valSearch, ws.Range("B:B"), 0)) Then
MsgBox "Found"
Exit Sub
End If
MsgBox "Not Found"