Is there any way to get a count of pages for the selected sheet using TXlsFile?
Thanks in advance
Yes, you can use the code here: Finding out how many pages will be exported | FlexCel Studio for VCL and FireMonkey documentation
Note that the number of pages depends in the printer settings, page size, margins, etc, so that's why you need to render the file.