Need Help with Extract PDF Pages

I have 3 invoices and I want to split each page of those invoices and want to create new pdf files for each page and save them in my output folder. Problem is it splits all pages for first invoice and only three pages for last invoice from my input folder.

This is my Input Folder
image

This is result showing in my Output Folder.
image

SplitNMerge.zip (566.4 KB)

Main.xaml (11.0 KB)

Hi @Arijit_Sarkar ,

Your code is missing re-initialization of the intCurrentPage variable after each pdf is splitted:

Just after the while loop, use an assign and make the intCurrentPage value as 1

image

Main.xaml (11.3 KB)

Regards,

1 Like

Appreciate your help! Thanks for sharing the knowledge!!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.