tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone
The above code works great for removing TMP files from "New Document Folder"
Is there a way I could get it to run on all folders in "S:" & StoreName ???
thanks
Tony
Code:
Sub OpenLon()
StoreName = "Londonf"
On Error Resume Next
Kill "S:\" & StoreName & "\New Documents Folder\*.TMP"
On Error GoTo 0
End Sub
The above code works great for removing TMP files from "New Document Folder"
Is there a way I could get it to run on all folders in "S:" & StoreName ???
thanks
Tony