Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need folder name to include date it was made 1

Status
Not open for further replies.

msdd

Technical User
May 30, 2006
2
US
I recently transferred a working macro from system 9 to OX10. The program is supposed to create a folder on the desktop with a speific name and the date it was created. The command is MKDir "Path name:folder name " & Date
I got the program to create the folder with name but there is an error in the & date part. Do you know what is going on?
Thank you
 
You may try to use Date$ instead of Date as the / character is illegal in a file name.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top