Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
awatt
 
Posts: n/a
Default how do I name a worksheet after a cell

Unfortunately I couldn't see the answer to a similar question posted a few
months ago. Basically, I have an Excel model that has multiple sheets and I
would like it such that the tabs are named automatically from a list on the
front sheet.
Many thanks for your help
Andy
  #2   Report Post  
Chip Pearson
 
Posts: n/a
Default

Andy,

Try something like the following. It will name the sheets to the
values in A1:A3.

Dim Ndx As Long
For Ndx = 1 To 3
Worksheets(Ndx).Name = Cells(Ndx, "A")
Next Ndx


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"awatt" wrote in message
...
Unfortunately I couldn't see the answer to a similar question
posted a few
months ago. Basically, I have an Excel model that has multiple
sheets and I
would like it such that the tabs are named automatically from a
list on the
front sheet.
Many thanks for your help
Andy



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
Using a cell reference to refernce worksheet in another work book [email protected] Excel Worksheet Functions 5 January 6th 05 06:26 PM
Can I link a cell to reflect a worksheet name? bkester Excel Discussion (Misc queries) 3 January 5th 05 10:47 PM
Indirect reference from one worksheet to another Bill Sturdevant Excel Worksheet Functions 2 December 17th 04 01:23 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
name of another worksheet in cell for reference Tom A Johnson Excel Worksheet Functions 2 November 11th 04 11:28 PM


All times are GMT +1. The time now is 12:03 AM.

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

About Us

"It's about Microsoft Excel"