Hi vaer,

Put a FileListBox control with the name of File1 on your form and to check, just execute the script below.

With Me.File1
.Path = "c:\windows\system\"
.Pattern = "*.htm"
MsgBox (.ListCount)
End With


Does it help ?

Regards