Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    How about: fileName.StartsWith("DailyReport_") && fileName.EndsWith(".xlsm") Commented Aug 13, 2014 at 20:19
  • regex is the generic answer Commented Aug 13, 2014 at 20:19
  • Great news, this has already been answered in another stack overflow question right here Commented Aug 13, 2014 at 20:19
  • possible duplicate of file exists by file name pattern Commented Aug 13, 2014 at 20:20
  • When you say "indicate 'variable' characters in a string", do you mean "variable characters in a filename I'm search for"? Commented Aug 13, 2014 at 20:20