Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jasarussell
 
Posts: n/a
Default can I name an excel worksheet tab by linking to worksheet data?

When data is typed into a cell on a worksheet, can that same data be paste
linked to the worksheet tab for tab naming purposes? Office XP is being used.
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

Only through VBA.

Event code.......

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count 1 Then Exit Sub
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
On Error GoTo CleanUp
Application.EnableEvents = False
With Target
If .Value < "" Then
Me.Name = .Value
End If
End With
CleanUp:
Application.EnableEvents = True
End Sub

This is sheet event code fired when A1 value changes.

Right-click on your sheet tab and "View Code".

Copy/paste the above into that module.


Gord Dibben Excel MVP

On Sat, 28 May 2005 11:36:04 -0700, "jasarussell"
wrote:

When data is typed into a cell on a worksheet, can that same data be paste
linked to the worksheet tab for tab naming purposes? Office XP is being used.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jamesie24
 
Posts: n/a
Default can I name an excel worksheet tab by linking to worksheet data?


How would this work the other way round?? I want a cell to pre populate
when i name a worksheet tab?

Lisa


--
Jamesie24
Posted from - http://www.officehelp.in

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
I faxed an excel worksheet and now cannot print? C. P. Excel Worksheet Functions 2 February 21st 05 09:28 PM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM
How do I replace a worksheet with another worksheet in excel Ammnon Excel Worksheet Functions 1 January 12th 05 10:48 AM
How do I show the last saved date in an Excel worksheet? mgriffie Excel Worksheet Functions 1 January 5th 05 08:46 AM
Linking items GREATER THAN O on another worksheet in the same Work Eddie Shapiro Excel Discussion (Misc queries) 4 December 1st 04 02:55 PM


All times are GMT +1. The time now is 01:38 PM.

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

About Us

"It's about Microsoft Excel"