View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Name sheet tab by today's two digit date

activesheet.name = Format(Date,"dd")

demo'd from the immediate window:

activesheet.name = Format(Date,"dd")
? activesheet.name
02


--
Regards,
Tom Ogilvy

"Annette" wrote in message
...
How can I programmically name a sheet by today's date? I have a user that
has to process daily incoming spreadsheet and she attaches to a monthly
sheets and I thought it would be easier for her if she had a macro to run
the sheet name change.

Thanks!

Annette