I have the following VB script set in an event procedure for a button:
Private Sub Command5_Click()
Dim fs As Object
Dim i As Integer
Set fs = Application.FileSearch
With fs
.LookIn = "J:\USB_Requests\Original Requests"
.filename = "*.xls"
If .Execute() > 0 Then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.