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