I'm having a little issue creating a folder with a name that uses the current system date. I found a Date function but I can't use it (I keep getting "Path not found" error). follows my code:
directory = "C:\Users\f8057612\Desktop\Bancos\Script_Operadoras\TEST\TESTFOLDER" & " - Day " & Date() & "\"
Set FSO = CreateObject("Scripting.FileSystemObject")
If Not FSO.FolderExists(directory) Then
FSO.CreateFolder directory
End If
How could I use the "Date" function? Any other way of creating a folder with the system date on it is also welcome! Thanks!