Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel - Auto Updating Tab Names

Thread Tools
 
Search this Thread
 
Old 05 November 2003, 10:02 PM
  #1  
velohead66
Scooby Regular
Thread Starter
 
velohead66's Avatar
 
Join Date: Oct 2002
Location: ex UK [SE], now Sunshine State [QLD,AUS]
Posts: 565
Likes: 0
Received 1 Like on 1 Post
Question

Is there any way a tab (ie worksheet tab) can be linked to a particular cell.

So when the cell is updated, so is the tab name ??
Old 05 November 2003, 10:32 PM
  #2  
markr1963
Scooby Regular
 
markr1963's Avatar
 
Join Date: Jun 2002
Location: Perth, Western Australia
Posts: 1,866
Likes: 0
Received 0 Likes on 0 Posts
Post

You could try this bit of code.

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False 'stops change event repeating
'takes the value of cell A1 and renames the active sheet
ActiveWorkbook.ActiveSheet.Name = Cells(1, 1).Value
Application.EnableEvents = True
End Sub

HTH

Mark
Old 10 November 2003, 02:40 AM
  #3  
velohead66
Scooby Regular
Thread Starter
 
velohead66's Avatar
 
Join Date: Oct 2002
Location: ex UK [SE], now Sunshine State [QLD,AUS]
Posts: 565
Likes: 0
Received 1 Like on 1 Post
Cool

Aaah, the joys of VB.

VB, I presumme ?
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Ganz1983
Subaru
5
02 October 2015 09:22 AM
An0n0m0us
Computer & Technology Related
0
28 September 2015 09:58 PM



Quick Reply: Excel - Auto Updating Tab Names



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