web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Number of pages in a P...
Power Automate
Unanswered

Number of pages in a PDF file

(0) ShareShare
ReportReport
Posted on by 65

Hi, I have a PDF file. where I need to find the total number of pages in the PDF file. Is there any way to find?

 

Kindly help me to resolve this issue.

Thanks in advance for your help.

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Sumitra_Sai 

     

     

    PDF actions does not support it currently. Other way is to write vb.net script to compute the number of pages in pdf file. 

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Sumitra_Sai Profile Picture
    65 on at

    Hi @Nived_Nambiar , thanks for your reply.

     

    Could you please help me with vb.net script to find tot no of pages in pdf? 

    I tried using powershell script. But it didn't work.

    Sumitra_Sai_0-1704167697272.png and 

    Sumitra_Sai_0-1704180499023.png

     

    Kindly help me to resolve this issue. Thanks in advance.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Sumitra_Sai 

     

    Since extracting data from pdf requires dll files so to do some operations on pdf file.

     

    May i know what error you are getting while executing the above script ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Sumitra_Sai Profile Picture
    65 on at

    Hi @Nived_Nambiar , thanks for your reply.

     

    There's no error. But the output is not coming for both the scripts.

     

    Thanks,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard