Thread
: [Solved]
Need help deleting some specific files by an Excel macro
View Single Post
08-21-2022, 09:48 PM
Guessed
Windows 10
Office 2016
Expert
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
The Kill command is being passed a filename but it doesn't know what path that file is sitting in. You might have more luck if you add that path in to the Kill command
Code:
Kill "D:\kalantari\miscellaneous\dailyreport01\" & MyFiles
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Guessed
View Public Profile
Visit Guessed's homepage!
Find all posts by Guessed