Split pdf according to one line

Hello Gys,

I’m trying to split a big pdf file into many pdf pages based on a line:

ex: “MONTANT TOTAL RESTANT A RECOUVRER A LA DATE”

I had developped a script but it split to 1 pages regrdless the existence of the sentence: “MONTANT TOTAL RESTANT A RECOUVRER A LA DATE”

Splitpdf_based_ENR_Nbr.xaml (13.5 KB)

@abdel Is it possible to share a sample pdf

@abdel

Use "Vbcrlf " keyword for split on each line.

Check -
Vbcrlf: The Visual Basic Carriage Return Line Feed - VBA and VB.Net Tutorials, Education and Programming Services.