Deleting a Folder with vba ? ("Nothing" keyword doesn't work)

  • Thread starter Thread starter t f
  • Start date Start date
T

t f

Hello,


I try to do this :
------------------
if a folder exists then
delete it
else
create it
end if
-----------------------------------------------------
I have tried with the "nothing" synthax but it doesn't work!

Have you some code to do that ?


Thank you.
Tony
 
Hello,

Thanks for the answer.

Can you developp the code please ? (for the Delete
part)
o


Thanks again
 
I am not exactly sure what you are trying to do. What is your *existing*
code that does not work?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top