Showing Filename in Cell

  • Thread starter Thread starter Neil Holmes
  • Start date Start date
N

Neil Holmes

Hi,

Can anyone help with how to return filenames in cells?

Thanks.

Neil Holmes.
 
One way

=LEFT(MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,255),FIND(".",
MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,255))+3)

assuming you are using one period in the file name like in *.xls
 

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