Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete file system files less than 5000K

Status
Not open for further replies.

JeffAlton

Programmer
Apr 19, 2003
42
0
0
US
I have a form that I want to be able to press a button and delete all Excel files from a certain directory that are less than 5000k in size.
 
Have a look at the Dir, FileLen and Kill VBA functions/instruction.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top