handri
Board Regular
- Joined
- Nov 25, 2017
- Messages
- 88
- Office Version
- 365
- 2021
- Platform
- Windows
Hi,
whatever i tried. Cant search below number and filter it using vba.
others is ok is it any weird things ?
my search vba is ok
whatever i tried. Cant search below number and filter it using vba.
NP ONLINE NEW FORMAT.xlsm | ||||
---|---|---|---|---|
B | C | |||
1049 | 1044 | 885012005010 | ||
DATA |
others is ok is it any weird things ?
my search vba is ok
VBA Code:
Private Sub TextBox1_Change()
ActiveSheet.ListObjects("TABLE4").Range.AutoFilter Field:=1, _
Criteria1:="*" & [D2] & "*", Operator:=xlFilterValues
End Sub
Sub clearFilter()
[D2] = ""
ActiveSheet.ListObjects("TABLE4").Range.AutoFilter Field:=1
End Sub