Transfer Text

S

Sash

I have a program where I'm writing text to a file. Is there a way to have
the file name be today's date? Right now I have:

Open "c:\output.txt" For Output As #1

Thanks,
Sash
 
D

Douglas J. Steele

Open "c:\output" & Format(Date(), "yyyy-mm-dd") & ".txt" For Output As #1
 
Top