VBA, How to open a file with date like 29 August 2004

G

Grek

Hi,


I'd like to open a file saved each day like that :

27 August 2004.txt
28 August 2004.txt
29 August 2004.txt

etc.

Unfortunately I don't know how to do that in VBA.
I could open the file if the name was for instance 20040728 using thi
code Format(Now(), "yyyymmdd") but I have no idea how to do that wit
the date like 28 August 2004

Any idea ?

Thank you in advance,

Gre
 
G

Grek

Thanks a lot !
I was sure "mmmm" would'nt work so I didn't even try.
I was wrong ;-)

Thanks again,

Gre
 

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

Top