ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I insert a date created in a cell in excel? (https://www.excelbanter.com/excel-worksheet-functions/32690-how-do-i-insert-date-created-cell-excel.html)

Hasta

How do I insert a date created in a cell in excel?
 
I am trying to insert the file name in a cell. I don't want the entire path,
just the file name. Please help!

Bob Phillips

See http://www.xldynamic.com/source/xld.xlFAQ0002.html

--
HTH

Bob Phillips

"Hasta" wrote in message
...
I am trying to insert the file name in a cell. I don't want the entire

path,
just the file name. Please help!




Niek Otten

=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1) )-FIND("]",CELL("filename",A1)))

--
Kind regards,

Niek Otten

Microsoft MVP - Excel

"Hasta" wrote in message
...
I am trying to insert the file name in a cell. I don't want the entire
path,
just the file name. Please help!





All times are GMT +1. The time now is 09:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com