Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Name sheet tab by today's two digit date

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional formatting for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
date in Cell to change colors if the date is beyond today's date Pete Elbert Excel Discussion (Misc queries) 2 June 6th 09 06:31 AM
How to use Today's date in a cell and make it stay the same date ADSK Excel Discussion (Misc queries) 6 November 17th 08 07:34 PM
how to create a new sheet with today's date mangesh Excel Discussion (Misc queries) 1 March 17th 06 09:08 PM
Count number of cells with date <today's date Cachod1 New Users to Excel 2 January 28th 06 02:37 AM


All times are GMT +1. The time now is 11:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"