How do you delete a file in Excel's VB?

C

Chip Pearson

Tino,

Use the Kill command to permanently delete a file. For example,

Kill "C:\temp\book1.xls"

Note that Kill does not put the file in the Recycle Bin. To
delete a file to the Recycle Bin, see
www.cpearson.com/excel/recycle.htm .


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Top