![]() |
![]() |
|
|||||||
| 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 |
|
New Member
Join Date: Mar 2002
Posts: 18
|
All I need to do is have a cell that displays the worksheet name.
I figured "=sheetname" or something to that effect. I've been checking for a while and oddly enough I can find no answers. |
|
|
|
|
|
#2 |
|
New Member
Join Date: Apr 2002
Posts: 24
|
you are on the right track, if you just want the name of the active sheet, then the following code will work
ActiveSheet.Range("A1") = ActiveSheet.Name hth lantiger |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
This can also be accomplish with the following formula rather than vba.
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,32)
__________________
It's never too late to learn something new. Ricky |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|