matrixknow
IS-IT--Management
- May 3, 2007
- 78
Dim strDate As String
strDate = Format(date, "yyyymmdd")
MkDir ("F:\Out\" & strDate)
Hallo, I create a dir to write my files to. The name of the dir is a date field, each day he can create a new dir.
I should find out if the dir already exist yes or no (did I create it today ?). If the dir exist he should not create a new one. How can I found out if the dir exist ?
strDate = Format(date, "yyyymmdd")
MkDir ("F:\Out\" & strDate)
Code:
strOutput = "F:\Out\" & strDate & "\" & strCode & ".xls"
Hallo, I create a dir to write my files to. The name of the dir is a date field, each day he can create a new dir.
I should find out if the dir already exist yes or no (did I create it today ?). If the dir exist he should not create a new one. How can I found out if the dir exist ?