Deleting all excel files in a folder through VB
<p>I am new to vb and would like your assistance in deleting all excel files from a specific folder.</p>

<p>Below if my code which is not working as I wanted:</p>

<pre><code>Dim fs 
Set fs = CreateObject("Scripting.FileSystemObject")

If fs.FileExists("C:\Users\Desktop\Test\Daily_Reports\*.xlsx") Then
     fs.Deletefile "C:\Users\Desktop\Test\Daily_Reports\*.xlsx", true
Else
     MsgBox "No"
End If
</code></pre>