ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   workbook file name in cell (https://www.excelbanter.com/excel-discussion-misc-queries/9798-workbook-file-name-cell.html)

BruceD

workbook file name in cell
 
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


JE McGimpsey

See

http://www.mcgimpsey.com/excel/formu..._function.html


In article ,
BruceD wrote:

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


Peo Sjoblom

One way

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


Regards,

Peo Sjoblom

"BruceD" wrote:

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


Bob Phillips

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

--

HTH

RP
(remove nothere from the email address if mailing direct)


"BruceD" wrote in message
...
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




Steve_n_KC

workbook file name in cell
 
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)
--
THANKS!

Steve


"Bob Phillips" wrote:

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

--

HTH

RP
(remove nothere from the email address if mailing direct)


"BruceD" wrote in message
...
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






All times are GMT +1. The time now is 02:14 PM.

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