|
-
Nov 22nd, 1999, 10:49 PM
#1
Thread Starter
Junior Member
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
-
Nov 22nd, 1999, 10:52 PM
#2
Try using Print#, eg.
Code:
Open "C:\MyFile.txt" For Ouput As 1
Print #1, "Some Text Without Quotes"
Close 1
As the for Date/Time Format, use the Format Function, eg.
Print #1, Format(Now, "MMDDYYHHNN")
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|