This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Hi @YankeePred. Glad the macro is working out for you. To answer your multi-page PDF page question, the answer is YES.
If you look at the code snippet below it was reading in the pages of the template file and creating/adding them to the target file object. Eventually we wrote the writer object’s contents to disk.
So its this addPage function of the PyPDF2 package does just that - adds a page to a PDF. And if your situation requires different options you also have APPEND & MERGE functions. (Append is pretty much identical to the merge method, but assumes you want to place all pages at the end of the file instead of specifying a particular position.)
Thanks for the code but was just wondering, how would you combine the checkbox and text field into one code? I tried but it was not working out the way I want it to. It was just checking the box and not filling out the text field like it use to.