workbook file name in cell

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I understand how to enter the workbook file name into a header or footer.
Is there a way to enter the workbook file name into a worksheet cell?

Thanks
 
One way

=MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,FIND("]",CELL("filename",A1))-FIND("[",CELL("filename",A1))-1)


Regards,

Peo Sjoblom
 
Is it possible to extract JUST the direct parent Folder name from the file
path and place it in a cell? (File Path here is highly variable...actual file
can be many folders deep into the path)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top