Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TerryAnnThomas
 
Posts: n/a
Default cell A1=worksheet name


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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TerryAnnThomas
 
Posts: n/a
Default cell A1=worksheet name


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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Desert Piranha
 
Posts: n/a
Default cell A1=worksheet name


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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TerryAnnThomas
 
Posts: n/a
Default cell A1=worksheet name


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


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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Desert Piranha
 
Posts: n/a
Default cell A1=worksheet name


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
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
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


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

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"