amelia123456
New Member
- Joined
- Apr 15, 2019
- Messages
- 8
I have a few locations, eg. AMK, AMK MRT.
When i type AMK, both amk and amk mrt will appear, how do i filter to exact when i type amk, only amk will appear?
this is my code
Sub Advanced_Filtering()
Range("A8:H1611").AdvancedFilter _
Action:=xlFilterInPlace, _
CriteriaRange:=Range("A1:C2")
End Sub
<tbody>
</tbody>
When i type AMK, both amk and amk mrt will appear, how do i filter to exact when i type amk, only amk will appear?
this is my code
Sub Advanced_Filtering()
Range("A8:H1611").AdvancedFilter _
Action:=xlFilterInPlace, _
CriteriaRange:=Range("A1:C2")
End Sub
code | assets | location | filter(this is a button) | |||
AMK | ||||||
Code | date | cost | assets | owner | condition | location |
12345 | 12/02/2016 | 2000 | sealing machine | abc | good | Amk |
22456 | 10/05/2017 | 1000 | sugar machine | abc | good | Amk Mrt |
55624 | 11/04/2018 | 1800 | induction cooker | abc | good | AMK |
<tbody>
</tbody>