Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 -- Message posted from http://www.ExcelForum.com |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Format(Now(), "dd mmmm yyyy")
? Format(Now(), "dd mmmm yyyy") 29 August 2004 -- Regards, Tom Ogilvy "Grek " wrote in message ... 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 this code Format(Now(), "yyyymmdd") but I have no idea how to do that with the date like 28 August 2004 Any idea ? Thank you in advance, Greg --- Message posted from http://www.ExcelForum.com/ |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks a lot !
I was sure "mmmm" would'nt work so I didn't even try. I was wrong ;-) Thanks again, Gre -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date open file with date saved | Excel Worksheet Functions | |||
Saving excel file with 64K rows as 2004/97 | Excel Discussion (Misc queries) | |||
Changing Where Data Validation List Boxes Open in Mac Excel 2004 | Excel Discussion (Misc queries) | |||
I can't format 01/19/2004 to read January 19, 2004, please help!! | Excel Discussion (Misc queries) | |||
Use VBA to replace 2002 by 2004 in Date | Excel Programming |