Get Sheetname by page number using text variables

Hello,

I would like to get sheetname by using textvariables. I want to input the page number and get the SHEETNAME. Something like this (${#4:SHEETNAME}). Is this possible?

Thank you.