ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Is there a function to print file name/path on a spreadsheet? (https://www.excelbanter.com/excel-worksheet-functions/227551-there-function-print-file-name-path-spreadsheet.html)

cchas80860

Is there a function to print file name/path on a spreadsheet?
 


Niek Otten

Is there a function to print file name/path on a spreadsheet?
 
Page setup Header/footerCustom footer click the symbols to insert path
and/or filename

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"cchas80860" wrote in message
...



Niek Otten

Is there a function to print file name/path on a spreadsheet?
 
cchas80860 wrote: Nothing!

:-}


Glenn

Is there a function to print file name/path on a spreadsheet?
 
cchas80860 wrote: Nothing!



Look at =CELL("filename") if you aren't talking about headers and footers.

Tom Hutchins

Is there a function to print file name/path on a spreadsheet?
 
If you are going to use CELL("filename"), you should include a cell reference
(any cell will do). Without it, the function returns the name of the last
sheet that was recalculated. I always use CELL("filename", A1) now. Also, the
workbook must have been saved for the "filename" method of the CELL function
to work.

Hope this helps,

Hutch

"Glenn" wrote:

cchas80860 wrote: Nothing!



Look at =CELL("filename") if you aren't talking about headers and footers.



All times are GMT +1. The time now is 04:35 PM.

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