Create a folder....

P

Paiolas

Hi

I want to create a folder in a specific location, but
only if it doesn´t already exits!
I´ve tried the folowing code but it doesn´t work (i don´t
understand the "object")

If Object.FolderExists(ThisWorkbook.Path & "\" & "Temp")
= False Then
MkDir ThisWorkbook.Path & "\" & "Temp"
End If

Thanks a lot
Paiolas
 
Top