View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
PaiolaS PaiolaS is offline
external usenet poster
 
Posts: 4
Default Create a folder....

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