VBA DeleteFile

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

The FileSystemObject VBA DeleteFile functions deletes a specified file or files.

VBA DeleteFile Syntax

filename
The location names of file(s) to delete. You can use wildcards such as *.* to specify more than a single file matching the pattern.
force
Optional. If True only read-only files are deleted. If False any files are deleted. False is default.

VBA DeleteFile Examples

Simply the best place to learn Excel VBA