![]() ![]() Princi = "c:\Temp\mainfile.pdf" 'full path of main file 'In this example c:\Temp is the working folderĪddi = "c:\Temp\filetomerge.pdf" 'full path of file to be merged 'A temporary folder, in this case c:\t2, should be present 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. If yes, please activate the software again to get the advanced features back.I use Foxit Phantompdf, the complete version and ACCESS. If you can't find the Create from Multiple Files or the Organize menu in your Foxit PhantomPDF software, please go to Help > About Foxit PhantomPDF to check if it has been downgraded to Express edition. Note: Merging PDF files feature is one of the advanced features and it is included in Standard and Business edition. Open Pages navigation pane, right click on a page thumbnail where you want the merged pages to insert.Ĭhoose Insert Pages and choose one of the commands below to do merging. Go to Organize > Insert and choose one of the commands below to do merging. Inside PhantomPDF, open a file you want to merge pages into. Inside PhantomPDF, go to File > Create > From Multiple Files to open Conversion dialog box.Ĭhoose one of options, check the option " Merge multiple files into a single PDF file", click on Convert to do the task. Inside PhantomPDF, go to File > Create >Combine Files to open combine dialog box.Ĭlick on Add files. button to choose one of options to select some files you want to combine them, click on Combine to do the task.įor Foxit PhantomPDF which is older than version 9.2,please perform the following steps: Merge documents by application menus Use File > Create commandįor Foxit PhantomPDF 9.2 and greater versions,please perform the following steps: Locate a folder, a file or multi-files, right click on the selections and choose Combine Files in Foxit PhantomPDF. Merge documents by Windows right-click context menu Note: When your mouse is hovering over the pages down or up in the navigation panel, the pages will scroll down or up so that you can locate a desired place to drop your extracted pages. Now, you are in the a.pdf document screen, move your cursor to the navigation panel, locate a position and release your mouse. You will notice your current tab is automatically switched to a.pdf. Open Pages navigation panel, click to select a page or press "ctrl+ mouse click" to select multi-pages, drag and move your cursor to the tab name as a.pdf that you want to merge pages into (hold your mouse). Open the other PDF document where you want to extract pages from. In the current opened document, for example say a.pdf, open Pages navigation panel. You can also merge only part of pages in an opened PDF document into other opened PDF document. Note: the file type could be any supported files as listed below. Inside PhantomPDF, open a PDF document that you want to merge other files into, open Pages navigation panel.īrowse your folder to locate a file or files, drag and drop them into the navigation panel. You can merge one or multi-files into an existing opened file. Merge documents or pages by dragging and dropping ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |