Can anyone tell me why this might not work assuming that I have the path name right?
With Application.FileSearch
.NewSearch
.LookIn = sPath
.Filename = "*.rtf"
.FileType = msoFileTypeAllFiles
If .FoundFiles.Count > 0 Then
Kill (sPath & "\*.rtf")
Else
End If
End With
With Application.FileSearch
.NewSearch
.LookIn = sPath
.Filename = "*.rtf"
.FileType = msoFileTypeAllFiles
If .FoundFiles.Count > 0 Then
Kill (sPath & "\*.rtf")
Else
End If
End With