Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default renaming all work-sheets at once

hiii all..

How to rename all sheets in a exce at once automatically.

i have 10 sheets in excel. Is there any option to rename all 10 work sheets
at once.
I am spending lot of time on renaming all sheets.
plz help me

Narendra

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default renaming all work-sheets at once

You can do this with a macro.

Rather than posting a generic macro, describe what you want the sheets re-named
to an a tailored-to-your-needs macro could be posted.


Gord Dibben MS Excel MVP

On Sat, 2 Jun 2007 07:01:04 -0700, Narendra Boga
wrote:

hiii all..

How to rename all sheets in a exce at once automatically.

i have 10 sheets in excel. Is there any option to rename all 10 work sheets
at once.
I am spending lot of time on renaming all sheets.
plz help me

Narendra


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default renaming all work-sheets at once

Hi,

The direct answer to the question "Is there any option to rename all 10 work
sheets at once." is no.

But as others have suggested you can do it with a macro, the problem is how
do you decide what the sheet names are.

Suppose you enter the sheet names in cells A1:A10 of Sheet1.

Sub NameSheets()
Dim N As Variant
N = Sheets(1).Range("A1:A10").Value
For I = 1 To 10
Sheets(I).Name = N(I, 1)
Next I
End Sub




Cheers,
Shane Devenshire


"Narendra Boga" wrote:

hiii all..

How to rename all sheets in a exce at once automatically.

i have 10 sheets in excel. Is there any option to rename all 10 work sheets
at once.
I am spending lot of time on renaming all sheets.
plz help me

Narendra

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default renaming all work-sheets at once

Thanq very much shane... it works....



"ShaneDevenshire" wrote:

Hi,

The direct answer to the question "Is there any option to rename all 10 work
sheets at once." is no.

But as others have suggested you can do it with a macro, the problem is how
do you decide what the sheet names are.

Suppose you enter the sheet names in cells A1:A10 of Sheet1.

Sub NameSheets()
Dim N As Variant
N = Sheets(1).Range("A1:A10").Value
For I = 1 To 10
Sheets(I).Name = N(I, 1)
Next I
End Sub




Cheers,
Shane Devenshire


"Narendra Boga" wrote:

hiii all..

How to rename all sheets in a exce at once automatically.

i have 10 sheets in excel. Is there any option to rename all 10 work sheets
at once.
I am spending lot of time on renaming all sheets.
plz help me

Narendra

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
vb code for renaming a work sheet with a cell reference John Britto Excel Discussion (Misc queries) 3 September 17th 06 07:12 PM
Renaming sheets with the same name after copying into a new workbo cdb Excel Discussion (Misc queries) 0 March 14th 06 04:25 PM
Counting dates in multiple work sheets and work books Savage Excel Discussion (Misc queries) 0 December 19th 05 11:41 PM
Renaming multiple sheets Mark T Excel Worksheet Functions 14 July 16th 05 02:22 AM
I wish to save my Excell work in my work sheets CLC 37 Qld Excel Worksheet Functions 0 May 24th 05 10:56 AM


All times are GMT +1. The time now is 04:47 AM.

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"