PDA

View Full Version : Search For a Folder



kbsudhir
04-09-2009, 05:12 PM
Hi All,

I want to save my mail in a particular folder(ex. Folder123) in "C:\MailFolder\".
from my outlook. :doh: :doh:

Please guide on how to go about searching/checking whether a particular folder is available in a specific location. :dunno


Thanks for all your valuable time n help.:bow: :bow:


Regards
Sudhir

Zack Barresse
04-11-2009, 01:11 PM
This should do it...
If Dir("C:\MailFolder", vbDirectory) = "" Then
MsgBox "Folder does not exist!", vbInformation
' MkDir "C:\MailFolder"
Else
MsgBox "Folder exists!", vbInformation
End If

HTH