View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Excel VBA - deleting populated folder problem

Paul,

See www.cpearson.com/excel/Recycle.htm for information and
example code about using the SHFileOperation API call to delete a
file or folder to the recycle bin.


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



"PaulC " wrote in message
...
I can delete an empty folder with RmDir, but how do I delete a

populated
folder and all its sub-folders?

Paul


---
Message posted from http://www.ExcelForum.com/