Hi,
I'm trying to write an if statement that says:

"If there is one (or more) .jpg in the folder where the spreadsheet is located, delete all of them. If not, continue with the macro."

Here is the code I'm playing with, and it works, except for the IF statement.

If ThisWorkbook.Path & "\" & "*.jpg" <> "" Then
Kill ThisWorkbook.Path & "\" & "*.jpg"
End If
Any ideas on how to do a simple IF statement?

Thanks!