View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Paul B
 
Posts: n/a
Default =cell("filename") in multiple places

Ricky, try this,

=CELL("filename",A1)

--
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

"Ricky Pang" wrote in message
...
Hello Experts,
What would be the workaround so that each tab in the workbook containing

the
formula =cell("filename") would have the correct tab name including full
file name? It seems that this formula's limitation is that it can appear
only once in the workbook. Even then, it doesn't update the tab name
automatically.

I've tried =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255) but

it,
too, has the wrong tab name if this formula appears in multiple sheets.

Thanks in advance,
Ricky