Transfer Text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Open "c:\output" & Format(Date(), "yyyy-mm-dd") & ".txt" For Output As #1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top