Adding a page # for combined print

Good morning,

I am workning on Excel/VB to generates a pdf out of various sources (xls and pdf). So far it seems to be working except that I would like to add a page number to each pages that the combindes pdf has and do not know how to do that.

Thank you for your help,


This is possible with the pdfforge.dll coming with PDFCreator and a script. Use the function AddTextToPDFFile.


I am trying to find a document to use this function (AddTextToPDFFile) but no success there. Could you tell me where I can find documentation to us this method on a vb code?