Is there a way to automatically enter the page/sheet name in a cell? I
have Excel 2007. I cant seem to find any info on this in the help menu.
Thanks.
Mike D.
From an OLD post by Julian Milano
To display the full title of the workbook in a cell:
=CELL("FILENAME",F10)
eg. H:\MSOffice\Macros\[Accessing document properties.xls]Sheet1
To display the Path:
=MID(CELL("FILENAME",F8), 1,FIND("[",CELL("FILENAME",F8))-1)
eg. H:\MSOffice\Macros\
To display the filename:
=MID(CELL("FILENAME",F9),FIND("[",CELL("FILENAME",F9))
+1,FIND("]",CELL("FILE
NAME",F9))-FIND("[",CELL("FILENAME",F9))-1)
eg. Accessing document properties.xls
To display the Sheet name:
=MID(CELL("FILENAME",F10),FIND("]",CELL("FILENAME",F10))+1,255)
eg. Sheet1