I need tips on how to write to a file so that the " " do not appear and how to make a date and time write to a file in a format like this:
1122990100
instead of
11/22/99 01:00
Thanks
Printable View
I need tips on how to write to a file so that the " " do not appear and how to make a date and time write to a file in a format like this:
1122990100
instead of
11/22/99 01:00
Thanks
Try using Print#, eg.
As the for Date/Time Format, use the Format Function, eg.Code:Open "C:\MyFile.txt" For Ouput As 1
Print #1, "Some Text Without Quotes"
Close 1
Print #1, Format(Now, "MMDDYYHHNN")
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]