Re: tab named after a cell contents
- From: "Paul B" <to_much_spam_to_list@xxxxxxxxxx>
- Date: Mon, 9 Oct 2006 19:03:46 -0400
Your welcome, thanks for the feedback, and if you need it from a list you
have that also
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
"Paul" <ph002d2907@xxxxxxxxxxxxxxxx> wrote in message
news:ieAWg.32372$r61.21587@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Paul,will
I can only thank you for your prompt help. I have asigned a button to run
the macro so can change the names quickly and easily.
Once again thanks and I will check the web page you recommended.
"Paul B" <to_much_spam_to_list@xxxxxxxxxx> wrote in message
news:uDHEjG$6GHA.2120@xxxxxxxxxxxxxxxxxxxxxxx
Paul, here is one way,
Sub Rename_All_Sheets()
'will rename all sheets in the workbook to the value in A1
Dim WS As Work***
For Each WS In Worksheets
WS.Name = WS.Range("A1").Value
Next
End Sub
To put in this macro, from your workbook right-click the workbook's icon
and
pick View Code. This icon is at the top-left of the spread*** this
theopen the VBA editor, in Project Explorer click on your workbook name, if
you
don't see it press CTRL + r to open the Project Explorer, then go to
insert,
module, and paste the code in the window that opens on the right hand
side,
press Alt and Q to close this window and go back to your workbook and
press
alt and F8, this will bring up a box to pick the Macro from, click on
haveMacro name to run it. If you are using excel 2000 or newer you may
theto
change the macro security settings to get the macro to run. To change
itsecurity settings go to tools, macro, security, security level and set
individualto
medium
And if you are new to macros you may also what to have a look here on
getting started with macros
http://www.mvps.org/dmcritchie/excel/getstarted.htm
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003
"Paul" <ph002d2907@xxxxxxxxxxxxxxxx> wrote in message
news:wRzWg.32350$r61.11880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I'm a teacher with a class of 30+ children. I want to keep an
towork*** for each child but don't want to have to type in their names
firsteach tab. I would like to either 1) have a simple class list on the
tab and then each subsequent tab named from that list, or 2) from a
particular cell on each individual work***. I'm an average user of
excel
2003 but have no knowledge of VBA.
Hope you can help
.
- References:
- tab named after a cell contents
- From: Paul
- Re: tab named after a cell contents
- From: Paul B
- Re: tab named after a cell contents
- From: Paul
- tab named after a cell contents
- Prev by Date: Re: Problem with advanced filter
- Next by Date: Re: Duplicate cells
- Previous by thread: Re: tab named after a cell contents
- Next by thread: Re: tab named after a cell contents
- Index(es):