Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
here is the code
Sub dater() Dim fname Range("a1").Select Selection = "=NOW()" fname = Worksheets("sheet1").Range("A1").Value fname = fname & ".xls" ChDir "C:\WINNT\Profiles\u436825\Desktop" ActiveWorkbook.SaveAs FileName:=fname End Sub it is supposed to put the date in cell a1 and then save the file wit the date as the name. It gets an error on the last line anyhelp appreciated -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Last Save Date | Excel Discussion (Misc queries) | |||
Recovering File Info Specifically Save Date or Print Date | Excel Discussion (Misc queries) | |||
Last Save Date | Excel Discussion (Misc queries) | |||
save as future date eg expected delivery date | Excel Discussion (Misc queries) | |||
add a date that changes only when I save the doc. | Excel Worksheet Functions |