Tuesday, November 22, 2011

Return an Excel Worksheet Name to a Cell

In Excel it is possible to use the CELL function/formula and the MID and FIND to return the name of an Excel Worksheet in a Workbook. The formula below shows us how;

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)

(Read the whole passage: http://www.ozgrid.com/VBA/return-sheet-name.htm)

No comments:

Post a Comment