Dim fso, f As Object
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.GetFile(strLocalBE)
Dim FileCreatedDate As Date
If f <> "" Then
FileCreatedDate = f.DateCreated
Else
MsgBox "Missing data in path file -- unable to synchronize. Contact IS.", vbCritical, "Synchronization Failed"
Me.Label0.Caption = "Synchronization Failed -- Missing File Paths. Contact IS!"
Exit Sub
End If
Set fso = Nothing
Set f = Nothing