Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
is there a function that returns the name of the sheet it is on?
|
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Adam, here is one way,
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255) file must be saved first -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message . .. is there a function that returns the name of the sheet it is on? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
See http://www.xldynamic.com/source/xld.xlFAQ0002.html
-- HTH Bob Phillips (remove nothere from email address if mailing direct) "Adam Kroger @hotmail.com" <adam_kroger<nospam wrote in message . .. is there a function that returns the name of the sheet it is on? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Adam
UDF............. Function SheetName(Optional ByVal rng As Range) As String Application.Volatile If rng Is Nothing Then Set rng = Application.Caller SheetName = rng.Parent.Name End Function OR........ See Bob Phillips' site for more on sheet and filenames. http://www.xldynamic.com/source/xld.xlFAQ0002.html Gord Dibben Excel MVP On Wed, 14 Dec 2005 18:02:48 -0600, "Adam Kroger" wrote: is there a function that returns the name of the sheet it is on? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks
"Gord Dibben" <gorddibbATshawDOTca wrote in message ... Adam UDF............. Function SheetName(Optional ByVal rng As Range) As String Application.Volatile If rng Is Nothing Then Set rng = Application.Caller SheetName = rng.Parent.Name End Function OR........ See Bob Phillips' site for more on sheet and filenames. http://www.xldynamic.com/source/xld.xlFAQ0002.html Gord Dibben Excel MVP On Wed, 14 Dec 2005 18:02:48 -0600, "Adam Kroger" wrote: is there a function that returns the name of the sheet it is on? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
In Excel, how do you make one whole sheet equal to another. | Excel Discussion (Misc queries) | |||
Using a relative SHEET reference for source data in a chart | Charts and Charting in Excel | |||
Arrays Take too long. VERY HARD QUESTION. my head hurts : / | Excel Worksheet Functions | |||
Simple question - one xls sheet keeps printing 6 copies as default | Excel Discussion (Misc queries) | |||
Copying multiple sheets from one book 2 another and undertake spec | Excel Discussion (Misc queries) |