Correction:
Option Explicit
Sub CreateFolder()
Dim fDate As String, fPath As String
fDate = Application.InputBox("Enter a date in the format shown:", "Date to add...", Format(Date, "MM_DD_YYYY"))
If fDate = "False" Then Exit Sub
fPath = "L:\"
On Error GoTo ErrorExit
MkDir fPath & fDate & "_157"
MkDir fPath & fDate & "_157\" & fDate & "_157_Reports"
MkDir fPath & fDate & "_157\" & fDate & "_157_Support_Summaries"
Exit Sub
ErrorExit:
MsgBox fPath & fDate & " already exists!", vbExclamation, "Folder Exists"
End Sub
Bookmarks