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.
|