# Get Word Page Count

This action can be used to retrieve the number of pages in a Word document.

## Properties

<figure><img src="https://649489153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSSr3DfBuOYIkk2T9ec%2Fuploads%2F9TrSueve4VeKAsSPKSKl%2Fimage.png?alt=media&#x26;token=220c343e-260b-4875-826a-9d16bc93c1bb" alt=""><figcaption></figcaption></figure>

### Input

* **File**: the target file to search in (expression)

### Output

* **Output**: the variable which will be used to store the number of pages

### Misc

* **Display Name**: action display name in your implementation project.
* **Wait Before**: number milliseconds robot to wait before executing the action.
* **Wait After:** number milliseconds robot to wait until moving to the next action.
* **Abort on Error**: True/False
* **Retry Times**: Specifies the number of times to retry an action if it doesn't end successfully. Default value 0 (no retry); Use -1 if you want to retry indefinitely.&#x20;

## Use cases

### Potential use cases

* Retrieve the number of pages in a Word document
