Thread: Name Worksheet
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MCheru MCheru is offline
external usenet poster
 
Posts: 70
Default Name Worksheet

I have a macro that creates a new worksheet when I run it. The given name
could be Sheet 1, Sheet 2, Sheet 3, etc. The point is that I never know what
number Sheet the macro will give the worksheet because it changes each time I
run it. I want to create a code that will find the worksheet with Sheet in
the name and change the name of the worksheet to Remaining. Here is what I
have so far.

newsht.Name = "Remaining"