View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
abxy[_24_] abxy[_24_] is offline
external usenet poster
 
Posts: 1
Default Renaming the Worksheet through VBA

Ok, i'm trying to rename my worksheet to the contents of cell F8,
which really isn't that big of a deal. However, Cell F8 is a dat
formated as "mm/dd/yyyy" so when Excel tries to rename the worksheet
if gives me an error saying that it can't rename the worksheet becaus
the name contains invalid characters. I'ved tried reformatting the cel
itself to include only valid characters, but Excel still interprets i
the with "/" in it. So i know now that I have to tell Excel to forma
the date without the "/" in VBA, but how

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