I don't really understand what this does as stepping through shows no code, it just "happens"
Private Function MatchSpec( _
filename As String, _
FileSpec As String) As Boolean
MatchSpec = PathMatchSpec(StrPtr(filename), StrPtr(FileSpec))
End Function
In Excel 32bit
filename is...