Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Link a sheet name to a cell

Is there a way to rename a sheet depending on the values entered in a cell?
For example:
I have a workbook with multiple sheets. If someone were to type a string
(text) into a cell, can it rename a different sheet within the same notebook?


--
MCP, MCDST, CompTia A+
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Link a sheet name to a cell

Sorry, I need this to be done without macros. Is this possible???
--
MCP, MCDST, CompTia A+


"Kirk Christian" wrote:

Is there a way to rename a sheet depending on the values entered in a cell?
For example:
I have a workbook with multiple sheets. If someone were to type a string
(text) into a cell, can it rename a different sheet within the same notebook?


--
MCP, MCDST, CompTia A+

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Link a sheet name to a cell

Sorry, I need this to be done without macros. Is this possible???

No

But should you choose to change your mind, here's a macro

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo getmeout
If Target.Address < "$A$1" Then Exit Sub
Sheets(3).Name = Target.Value
Exit Sub
getmeout:
MsgBox Target.Value & " Is an illegal worksheet name"
End Sub

Mike

"Kirk Christian" wrote:

Sorry, I need this to be done without macros. Is this possible???
--
MCP, MCDST, CompTia A+


"Kirk Christian" wrote:

Is there a way to rename a sheet depending on the values entered in a cell?
For example:
I have a workbook with multiple sheets. If someone were to type a string
(text) into a cell, can it rename a different sheet within the same notebook?


--
MCP, MCDST, CompTia A+

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Link a sheet name to a cell

Well I thank you for your quick response.
This is for an assignment at school, so I am not able to use macros. But I
will be using this on other workbooks; this is too nice of a trick to miss!

Thanks!


--
MCP, MCDST, CompTia A+


"Mike H" wrote:

Sorry, I need this to be done without macros. Is this possible???


No

But should you choose to change your mind, here's a macro

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo getmeout
If Target.Address < "$A$1" Then Exit Sub
Sheets(3).Name = Target.Value
Exit Sub
getmeout:
MsgBox Target.Value & " Is an illegal worksheet name"
End Sub

Mike

"Kirk Christian" wrote:

Sorry, I need this to be done without macros. Is this possible???
--
MCP, MCDST, CompTia A+


"Kirk Christian" wrote:

Is there a way to rename a sheet depending on the values entered in a cell?
For example:
I have a workbook with multiple sheets. If someone were to type a string
(text) into a cell, can it rename a different sheet within the same notebook?


--
MCP, MCDST, CompTia A+

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
how do i link one sheet to another sheets cell of the same workboo MANDAR Excel Discussion (Misc queries) 1 May 14th 08 08:35 AM
Cell External Link in a sheet Hassan Shareef Excel Discussion (Misc queries) 5 October 17th 07 10:31 PM
Can I link the name of a sheet to a cell within the same sheet? MCJM Excel Discussion (Misc queries) 1 April 13th 07 04:08 PM
How do I link data from a cell on one spread sheet to another? Richard Deldonna Excel Worksheet Functions 4 March 18th 06 03:28 PM
link cell from one sheet to another within the same workbook Lp Excel Discussion (Misc queries) 2 January 7th 06 04:33 PM


All times are GMT +1. The time now is 03:52 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"