MkDir error

E

Eric

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top