If you are renaming the active sheet use:
ActiveSheet.Name = "Date (altered)"
If you are renaming the first sheet use:
Sheets(1).Name = "Date (altered)"
If you are renaming a sheet with a specific name use:
Sheets("Sheet1").Name = "Date (altered)"
--
kkkni
-----------------------------------------------------------------------
kkknie's Profile:
http://www.excelforum.com/member.php...nfo&userid=754
View this thread:
http://www.excelforum.com/showthread.php?threadid=26966