Takes2ToTango
Board Regular
- Joined
- May 23, 2023
- Messages
- 69
- Office Version
- 365
- Platform
- Windows
Hi All,
I have a Userform that autofilters a table using wildcards and user input.
I have attempted to replicate this code for filtering the table by 'years' from dates, however all I am getting is a blank table.
Using the above userform I put in '2024'
This code then runs and i was hoping that the table would then be filtered by all dates ending in '2024'
However I only get an empty table and no results
I have a Userform that autofilters a table using wildcards and user input.
I have attempted to replicate this code for filtering the table by 'years' from dates, however all I am getting is a blank table.
Using the above userform I put in '2024'
VBA Code:
Sheet4.ListObjects("Table").Range.AutoFilter Field:=8, Criteria1:="*" & "/" & "*" & "/" & DateTxt.Value
This code then runs and i was hoping that the table would then be filtered by all dates ending in '2024'
However I only get an empty table and no results