VB Code for Creatnig a Folder

B

Bikini Browser

Hi

Does anyone have any VB Code that can create a folder if it does not exist?
Perhaps C:\temp ? And if it does exists, don't do anything.

Where can I look for code like that?

BB
 
R

Rick Brandt

Bikini said:
Hi

Does anyone have any VB Code that can create a folder if it does not
exist? Perhaps C:\temp ? And if it does exists, don't do anything.

Where can I look for code like that?

BB

If Dir("C:\Temp", vbDirectory) = "" Then
MkDir ("C:\Temp")
End If
 
Top