Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim FSO As New Scripting.FileSystemObject
Dim fil As Scripting.File
With FSO
For Each fil in .GetFolder("C:\MyFolder\").Files
If Left$(fil.Name, 14) <> "branch_inbound" then
fil.Delete
End If
Next
End With
Set FSO = Nothing
Golom said:You will need a reference to Microsoft Scripting Runtime to do that.