Re: Filename coding with date
- From: "Bob Phillips" <bob.NGs@xxxxxxxx>
- Date: Tue, 28 Nov 2006 23:23:43 -0000
Activeworkbook.SaveAs Filename:=Activeworkbook.Path & "\testfile_" &
Format(Date,"yyyymmdd") & .xls"
--
HTH
Bob Phillips
(replace xxxx in the email address with gmail if mailing direct)
"DeanT" <DeanT@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F11C1AD8-DECF-4332-9F33-670FA4F547B7@xxxxxxxxxxxxxxxx
At the end of my macros, I want to save my workbook to another folder with
another name. I want to save the file AS:
C:/Mydata/testfile_yyyymmdd,xls where yyyymmdd is the current date.
How do I code this in the macro.?
Thanks for your help.
Dean
.
- Prev by Date: Re: Filename coding with date
- Next by Date: Re: vlookup Variables
- Previous by thread: Re: Filename coding with date
- Next by thread: Re: vlookup Variables
- Index(es):
Relevant Pages
|