09-13-2007 02:51 PM
I have some code that will generate a folder but I would like to add the current date to my newly created folder so I could create a new folder daily without altering the code. Any help or ideas will be greatly appreciated.
Private Sub cmdMakeFolder_Click()
'Make a reference to the "Microsoft Scripting Runtime". Then:
Dim fso As FileSystemObject
Set fso = New FileSystemObject
fso.CreateFolder "C:\Documents and Settings\user\Desktop\Test"
End Sub
09-14-2007 04:50 AM - edited 09-14-2007 04:50 AM
Message Edited by pheepo on 09-14-2007 04:55 AM