VBA DeleteFolder

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

The FileSystemObject VBA DeleteFolder function deletes a specified folder or folders.

VBA DeleteFolder Syntax

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

VBA DeleteFolder Examples

Simply the best place to learn Excel VBA