View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
[email protected] Bunter_22@hotmail.com is offline
external usenet poster
 
Posts: 37
Default Naming worksheets

Hi,

Yeah just pass the name of the cell to a variable and then use that to
name the sheet, something like:

Dim ShtName as string
ShtName = Range("A5").value
Activesheet.name = ShtName

If you then wanted to name quite a few you could then just set a loop
hence the reason I used activesheet rather than sheets("name")

James