The function WORKBOOK() returns the name of the current workbook.
=WORKBOOK()
The function WORKBOOK() is easy to use. You just need to specify a cell with text, and Excel (Calc) will automatically return the required word:
=WORKBOOK()
We will get the following result:
You can use the function WORKBOOK() by installing the extension YLC Utilities.
After this, this function will be available in all files that will be opened in Excel (LibreOffice Calc).