This isn't true.
To test:
Create a workbook with a couple of worksheets (and save it at least once)
then use this formula (without the range reference).
=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)
And show multiple windows (window|new window in xl2003 menus)
And recalculate (hit F9) and watch what each formula evaluates to.
Rick Rothstein wrote:
>
> I think you can safely leave the optional cell reference argument off of the
> function calls as the file name would be the same no matter what cell is
> referenced...
>
> =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)
>
> --
> Rick (MVP - Excel)
>
> "Eduardo" <(E-Mail Removed)> wrote in message
> news:326AEE94-4D65-447F-A069-(E-Mail Removed)...
> > Hi,
> > copy the formula as follow in the cell where you want to display the name
> >
> > =MID(CELL("filename",C1),FIND("]",CELL("filename",C1))+1,255)
> >
> > If this was helpful please say yes. Thank you
> >
> > "Jock" wrote:
> >
> >> How can I display the ActiveSheet.name in cell C5 for instance?
> >>
> >> TIA
> >> --
> >> Traa Dy Liooar
> >>
> >> Jock
--
Dave Peterson
|