To rename 5 WorkSheets, for example:
Sub RenameWorksheets()
shtName = Array("Apple", "Bean", "Cherry", "Diamond", "Earl")
For i = 1 To Sheets.Count 'assumes 5 worksheets total
Sheets(i).Name = shtName(i - 1)
Next
End Sub
Ht
--
Myle
-----------------------------------------------------------------------
Myles's Profile:
http://www.excelforum.com/member.php...fo&userid=2874
View this thread:
http://www.excelforum.com/showthread.php?threadid=49731