Thread: MkDir error
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
eric eric is offline
external usenet poster
 
Posts: 33
Default MkDir error

Can anyone tell me if this is correct? I get a 76 - Path
not found error when I try to see if a directory exists. I
can navigate to it.

If Len(Dir("J:\QA\MonthlyProductAnalysis\HIPSLids" &
strplant & "\" & Year(Date), vbDirectory)) = 0 Then MkDir
("J:\QA\MonthlyProductAnalysis\HIPSLids" & strplant & "\"
& Year(Date))

Thanks,
Eric