VBA DeleteFile

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

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

VBA DeleteFile Syntax

The location names of file(s) to delete. You can use wildcards such as *.* to specify more than a single file matching the pattern.
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