Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kathryn W
 
Posts: n/a
Default how do I auto name worksheets in Excel?

hi there

I want to auto name my worksheets in Excel. Eg: Name the first shet January,
nrext sheet February, then have Excel auto name the remaining ten sheets with
the remaining months of the year.

This is similar to the auto fill function where cells can be filled
automatically, but I cannot work out how to name worksheets this way.

Does anyone know if this can be done, and if so, how?

thanks

Kathryn
  #2   Report Post  
Rowan
 
Posts: n/a
Default

I don't think there is a way to have Excel do this as part of the standard
functionality. You could do it with a macro though:

Sub nmsht()
Dim i As Integer
On Error Resume Next
For i = 1 To 12
Sheets(i).Name = MonthName(i)
Next i
On Error GoTo 0
End Sub

Regards
Rowan

"Kathryn W" wrote:

hi there

I want to auto name my worksheets in Excel. Eg: Name the first shet January,
nrext sheet February, then have Excel auto name the remaining ten sheets with
the remaining months of the year.

This is similar to the auto fill function where cells can be filled
automatically, but I cannot work out how to name worksheets this way.

Does anyone know if this can be done, and if so, how?

thanks

Kathryn

  #3   Report Post  
Kathryn W
 
Posts: n/a
Default

thanks very much Rowan

I'll give it a try

cheers

Kathryn


"Rowan" wrote:

I don't think there is a way to have Excel do this as part of the standard
functionality. You could do it with a macro though:

Sub nmsht()
Dim i As Integer
On Error Resume Next
For i = 1 To 12
Sheets(i).Name = MonthName(i)
Next i
On Error GoTo 0
End Sub

Regards
Rowan

"Kathryn W" wrote:

hi there

I want to auto name my worksheets in Excel. Eg: Name the first shet January,
nrext sheet February, then have Excel auto name the remaining ten sheets with
the remaining months of the year.

This is similar to the auto fill function where cells can be filled
automatically, but I cannot work out how to name worksheets this way.

Does anyone know if this can be done, and if so, how?

thanks

Kathryn

  #4   Report Post  
Rowan
 
Posts: n/a
Default

You're welcome.

"Kathryn W" wrote:

thanks very much Rowan

I'll give it a try

cheers

Kathryn


"Rowan" wrote:

I don't think there is a way to have Excel do this as part of the standard
functionality. You could do it with a macro though:

Sub nmsht()
Dim i As Integer
On Error Resume Next
For i = 1 To 12
Sheets(i).Name = MonthName(i)
Next i
On Error GoTo 0
End Sub

Regards
Rowan

"Kathryn W" wrote:

hi there

I want to auto name my worksheets in Excel. Eg: Name the first shet January,
nrext sheet February, then have Excel auto name the remaining ten sheets with
the remaining months of the year.

This is similar to the auto fill function where cells can be filled
automatically, but I cannot work out how to name worksheets this way.

Does anyone know if this can be done, and if so, how?

thanks

Kathryn

  #5   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

You can do it in some procedure, but likely during time you need to write
the one, you can rename sheets in a lot of workbooks manually. When I'm
wrong in this, then my next advice will be to create an empty worksheet with
12 renamed sheets (you also can enter all column headers and formulas,
format cells, etc.), save it with some name like MonthsTemplate.xls, and
whenever you need a new workbook, you open it and then save as with new
name.


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



"Kathryn W" <Kathryn wrote in message
...
hi there

I want to auto name my worksheets in Excel. Eg: Name the first shet
January,
nrext sheet February, then have Excel auto name the remaining ten sheets
with
the remaining months of the year.

This is similar to the auto fill function where cells can be filled
automatically, but I cannot work out how to name worksheets this way.

Does anyone know if this can be done, and if so, how?

thanks

Kathryn



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I print all worksheets in Excel with one click? Kate New Users to Excel 4 July 30th 05 05:34 AM
Excel needs to have the ability to insert "SUB" worksheets KFEagle Excel Worksheet Functions 2 July 27th 05 08:13 PM
Sort rows across multiple worksheets - Excel 2003 Stamdale Excel Worksheet Functions 2 July 5th 05 04:30 PM
How do I set Excel to auto open a document into a new Window even. dixiebee Excel Worksheet Functions 1 December 15th 04 09:28 PM
excel links update not working in auto, calculations in auto Mikey Boy Excel Worksheet Functions 0 December 7th 04 11:53 PM


All times are GMT +1. The time now is 12:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"