Date on W/sheet Tab!

  • Thread starter Thread starter mellowe
  • Start date Start date
M

mellowe

Hi All

Is it possible to use VB code to re-name a worksheet tab with todays
date?

Say the w/sheet was called Core1 and after a macro has been run it
needs to rename Core1 to todays date is that possible?

thnx
 
Sub ChangeSheetName()
Sheets("Corel").Name = Format(Date, "mm-dd-yy")
End Sub

Change the format to match how you want the date displayed. (Don't use
forward slashes.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top