Help Centre › Building Processes
This article describes the RPA PowerPoint functionality to get the slide count.
For a full list of available functions, please read POWERPOINT functions.
Description
The POWERPOINT Slide count function allows you to get the number of slides in the presentation.
Setting it up
To use the POWERPOINT Slide count function, follow these instructions:
{{popups:rpas/add:action=powerpoint-slide-count}}
Once on a process map:
- Navigate to the process where you would like to add the POWERPOINT Slide count function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the POWERPOINT Slide count option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Variable | No | Text | count | Variable name to store the slide count |
Output variables
| Variable | Type | Description |
|---|---|---|
| count | Number | The number of slides in the presentation |
Errors
| Error | Description |
|---|---|
| Presentation not open | No PowerPoint presentation is currently open |
Tips
- Useful for looping through all slides in a presentation