![]() |
![]() |
|
|||||||
| 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: May 2002
Location: Minnesota, USA
Posts: 70
|
Does anyone have a VB Code to change a target cell, Lets say $C$3,..automatically by changing the worksheet tab name.
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
Can you try and explain that a little clearer.
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: May 2002
Location: Minnesota, USA
Posts: 70
|
Sure...
You know how Excel have the Sheet tabs on the bottom (Sheet1,Sheet2,Sheet3)... Is it possible that when I rename the sheet tab..Lets say Sheet1, that it would automatically change a cell value in a worksheet..Lets say $C$2. |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
Hey,
Probably a quicker way but how about a custom function: Code:
Function sheetname() sheetname = ActiveSheet.Name End Function =Sheetname() Adam |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|