1. EXCEL中获得工作表(sheet)的名称:
=MID(CELL("filename",$A$1),FIND("]",CELL("filename",$A$1))+1,LEN(CELL("filename",$A$1))-FIND("]",CELL("filename",$A$1)))
2. Excel 工作簿(文件)名 (WorkBook)
=MID(CELL("filename",$A$1),FIND("[",CELL("filename",$A$1)),FIND("]",CELL("filename",$A$1))-FIND("[",CELL("filename",$A$1))+1)
=RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))
3. 取工作表名及路径
=CELL("filename",$A$1