PC Review


Reply
Thread Tools Rate Thread

cell A1=worksheet name

 
 
TerryAnnThomas
Guest
Posts: n/a
 
      23rd Feb 2006

How do I make cell A1 show the name of the worksheet? Or
vice-versa....Can I make the worksheet tab show what ever text I put in
cell A1?
Thanks for looking, I appreciate any help!!


--
TerryAnnThomas
------------------------------------------------------------------------
TerryAnnThomas's Profile: http://www.excelforum.com/member.php...o&userid=31837
View this thread: http://www.excelforum.com/showthread...hreadid=515581

 
Reply With Quote
 
 
 
 
TerryAnnThomas
Guest
Posts: n/a
 
      23rd Feb 2006

Try in any cell:
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32)
(workbook must be saved first)
--
Max
Singapore

I was searching while hoping for a reply and I found the answer.
This is an awesome site, and I thank everyone involved from the host to
the users. I hope I can help someone sometime.


--
TerryAnnThomas
------------------------------------------------------------------------
TerryAnnThomas's Profile: http://www.excelforum.com/member.php...o&userid=31837
View this thread: http://www.excelforum.com/showthread...hreadid=515581

 
Reply With Quote
 
Desert Piranha
Guest
Posts: n/a
 
      23rd Feb 2006

TerryAnnThomas Wrote:
> How do I make cell A1 show the name of the worksheet? Or
> vice-versa....Can I make the worksheet tab show what ever text I put in
> cell A1?
> Thanks for looking, I appreciate any help!!

HiTerry,

If your interested in VBA, to name the worksheet tab, for whatever is
put into A1, this is one way, for one sheet. Can be made for all sheets
if you need.

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo ExitSub
If Not Application.Intersect(Me.Range("A1"), _
Target) Is Nothing Then _
Me.Name = Me.Range("A1").Value
ExitSub:
End Sub


--
Desert Piranha


------------------------------------------------------------------------
Desert Piranha's Profile: http://www.excelforum.com/member.php...o&userid=28934
View this thread: http://www.excelforum.com/showthread...hreadid=515581

 
Reply With Quote
 
TerryAnnThomas
Guest
Posts: n/a
 
      23rd Feb 2006

Dave,

Thanks for your help, this is much better. I am very fasinated wit
VBA. However I find I require a lot of notes/cheat sheets with VBA a
I have a bad memory. At least I remember the capabilities of excel an
then I know how to use my notes or how to find -excel angels -lik
yourself. I Hope I can return the favor for someone even les
knowledgable than myself (I know there is _someone__ou
there!)

Seriously Dave, I appreciate your help!
Terr

--
TerryAnnThoma
-----------------------------------------------------------------------
TerryAnnThomas's Profile: http://www.excelforum.com/member.php...fo&userid=3183
View this thread: http://www.excelforum.com/showthread.php?threadid=51558

 
Reply With Quote
 
Desert Piranha
Guest
Posts: n/a
 
      23rd Feb 2006

TerryAnnThomas Wrote:
> Dave,
>
> Thanks for your help, this is much better. I am very fasinated with
> VBA. However I find I require a lot of notes/cheat sheets with VBA as
> I have a bad memory. At least I remember the capabilities of excel and
> then I know how to use my notes or how to find -excel angels -like
> yourself. I Hope I can return the favor for someone even less
> knowledgable than myself (I know there is _someone__out
> there!)
>
> Seriously Dave, I appreciate your help!
> Terry

Hi Terry,
I'm sure you excel in other catagorys. (no pun intended)
Glad to be able to help.


--
Desert Piranha


------------------------------------------------------------------------
Desert Piranha's Profile: http://www.excelforum.com/member.php...o&userid=28934
View this thread: http://www.excelforum.com/showthread...hreadid=515581

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking cells containing text from one worksheet to a cell with textin another worksheet lizmatthews00774@gmail.com Microsoft Excel Discussion 8 10th Oct 2008 12:58 PM
link a cell in the 'Master' worksheet list to a 'Detail' worksheet =?Utf-8?B?UGF1bCBDb25kcm9u?= Microsoft Excel Programming 12 16th Jul 2006 10:41 PM
Place The Contents Of A Cell From The Active Worksheet Into A Cell On An Inavtive Worksheet Minitman Microsoft Excel Programming 1 25th Feb 2004 04:26 AM
Place The Contents Of A Cell From The Active Worksheet Into A Cell On An Inavtive Worksheet Minitman Microsoft Excel Worksheet Functions 1 25th Feb 2004 04:26 AM
Place The Contents Of A Cell From The Active Worksheet Into A Cell On An Inavtive Worksheet Minitman Microsoft Excel Misc 1 25th Feb 2004 04:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:03 PM.