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 Nov 5, 2003 | 10:02 PM
  #1  
velohead66's Avatar
velohead66
Thread Starter
Scooby Regular
 
Joined: Oct 2002
Posts: 565
Likes: 1
From: ex UK [SE], now Sunshine State [QLD,AUS]
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 ??
Reply
Old Nov 5, 2003 | 10:32 PM
  #2  
markr1963's Avatar
markr1963
Scooby Regular
 
Joined: Jun 2002
Posts: 1,866
Likes: 0
From: Perth, Western Australia
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
Reply
Old Nov 10, 2003 | 02:40 AM
  #3  
velohead66's Avatar
velohead66
Thread Starter
Scooby Regular
 
Joined: Oct 2002
Posts: 565
Likes: 1
From: ex UK [SE], now Sunshine State [QLD,AUS]
Cool

Aaah, the joys of VB.

VB, I presumme ?
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
Nov 4, 2021 07:12 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
Ganz1983
Subaru
5
Oct 2, 2015 09:22 AM
An0n0m0us
Computer & Technology Related
0
Sep 28, 2015 09:58 PM




All times are GMT +1. The time now is 12:36 PM.