View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
John D O'Connor John D O'Connor is offline
external usenet poster
 
Posts: 3
Default Re Name a Worksheet as a Date Format

Using a Macron how can you rename a Worksheet using a Date format. I have a
Macro that re-names a new Worksheet with whatever Date is in a certain cell,
however the worksheet re-names not in Date format but in numeric format.

Anyone suggest the code that I should insert? My current code is as below

strSheetName = Worksheets(ActiveSheet.Name).Range("a8")

Where A8 is the document date

Thanks

John