View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Rename sheet with NOW date

Once the new sheet has been activated, run:

Sub name_it()
ActiveSheet.Name = Format(Now, "mm-dd-yyyy")
End Sub

--
Gary's Student
gsnu200701


"Publius" wrote:

I have a macro recorded that creates a new worksheet (each day) and it will
allow me to rename the new sheet, but I cannot figure out how to make it put
the date "NOW" in as the new worksheet's name and leave it named that date
forever. Can anyone tell me how to do it?