View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
mudraker[_182_] mudraker[_182_] is offline
external usenet poster
 
Posts: 1
Default Add sheet and rename with cell contents

Rudy



Use the date format that Matches your needs

ActiveSheet.Name = Format(Range("J1").Value, "YYMMDD")

or


ActiveSheet.Name = "Abc " & Format(Range("J1").Value, "YYMMDD")


---
Message posted from http://www.ExcelForum.com/