Skip to main content
New Participant
June 28, 2024
Question

Need to count the number of Pages in Word Document

  • June 28, 2024
  • 4 replies
  • 8 views

Hi All, 

We have a requirement for counting the number of pages in a word Doc , Is there any solution for this. 

Already tried to convert to PDF and to take the count but format is getting changed and not getting the exact count.

    4 replies

    stefanhelzle0001
    Brainy
    June 28, 2024

    I am not aware of any ready made function to do this. Our of curiosity, what is the background of this requirement?

    anamf0002Author
    New Participant
    June 28, 2024

    So we have to sign at a last page of a dynamic generated Word Document to get the position where we need to sign , we need to count the number of pages in Doc.

    davidj137213
    Brainy
    June 28, 2024

    If the document was generated with Word, you can use this plugin

    community.appian.com/.../document-page-counter

    Known Participant
    June 30, 2024

    Install Document Page Counter plugin in Admin  Console

    Try using this function getnumberofpagesindocument() - Returns the number of pages in DOCX or DOC(Works only for the documents created using Microsoft Word)