Here is my solution: Private Sub Command4_Click()ĭim addi As String 'file to be merged to main file It works perfectly, but Foxit adds a table of content page, and I don't know, yet, how to remove it. The renamed files are the then used in the merge function. I copied the files to be merged in a temporary folder and rename them. So I took advantage of the fact that the function works when the file names are in plain text. I tried it, but got the same error message. However, when I try to use variables, I get a When I try it with the complete files names (in bold) the code works perfectly. Set phApp = CreateObject("PhantomPDF.Application") Here is the code I use Dim phApp As PhantomPDF.Application In our program, we have to save multiple pdf files, some of them should be merged in single files when saved. I use Foxit Phantompdf, the complete version and ACCESS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |