# Get Pagination Info

## Content

ReportSheet supports [paginated preview mode](/spreadjs/docs/v17/) as well as formula-based functions to get pagination information.
To get the pagination information from ReportSheets, you can use the following functions.

* **R.CURRENTPAGE()**: To get the current page number.
* **R.PAGESCOUNT()**: To get the page count.

The following image shows a template sheet where the CONCAT function concatenates all the pages and displays the current page number out of the total number of pages.

![image](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/d37fbce1-6a37-43ce-b728-dd79fba68421/image.66f113.png?width=700)

The orders report generated from the above TemplateSheet is shown below.

![image](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/d37fbce1-6a37-43ce-b728-dd79fba68421/image.1f6087.png)