'Return filename with wildcard

sFile = Dir(sPath & sFile)
Debug.Print sFile

2022.txt is returned if sFile (the active cell) contains 2022.txt; how can I return the same if sFile contains 202*.txt?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source