For loop on pdf page

I want do for loop on the pdf page. The range which is “2-4”

If your basic requirement is to loop through PDF pages.

  1. You can simply use Get PDF Page Count activity to get the total no. of pages in the PDF. put that in PageCount variable.
  2. Create new variable with name Counter and set Counter = 0.
  3. Use do while loop to loop through pages in pdf. Condition : while Counter <> PageCount
  4. Increase Counter by 1. i.e. Counter = Counter+1