If the workbook has been previously saved, you can use the CELL function to return the path, filename & sheet name. This information can then be parsed to get the sheet name.
=MID(CELL("filename",A1),FIND("]",CELL("filename"),A1)+1,99)
In this formula, the reference to cell A1 is arbitrary--it could be any cell on the worksheet.