Type the formula =CELL("FILENAME"), OR =CELL("FILENAME",A1) in a cell and see
that it returns the entire PATH, Workbook name, and sheet name. The formula
sees this string each time those terms are used in it. Essentially the
formula says to find the closing bracket symbol "]", skip over it, and return
the rest of the characters in the string (ie: the sheetname)
hth
Vaya con Dios,
Chuck, CABGx3
CLR said:
=MID(CELL("filename"),FIND("]",CELL("filename"),1)+1,99)
Vaya con Dios,
Chuck, CABGx3
Al said:
Any way to import a tab name into a cell such that the cell text is the same
as the tab?
(Tab name = Project ABC, and I'd like to automatically set cell B2 to
"Project ABC")
Allan