I am using the following formula to display the first 7 characters of a worksheet name in a cell.
=LEFT(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256),7)
It works perfectly. However, when I copy the worksheet, move it it a new workbook and save the workbook with a name that is identical to the worksheet name, the formula now returns #VALUE.
Anyone know why the formula no longer works after the copy/move/save?
=LEFT(MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256),7)
It works perfectly. However, when I copy the worksheet, move it it a new workbook and save the workbook with a name that is identical to the worksheet name, the formula now returns #VALUE.
Anyone know why the formula no longer works after the copy/move/save?