![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 133
|
I have a spreadsheet which generates a reference number in a cell. Is it possible that once this number has been generated the worksheet tab can be changed automatically to reflect the value in the cell ?
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Boston, MA
Posts: 105
|
Have you tried something like this:
Sub TabName() ActiveSheet.Name = Range("A1").Value 'A1 is the cell with the reference number End Sub |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Posts: 133
|
Just the job ! Many thanks.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|