Split and Merge pages of a PDF in an Outlook VB Macro

Hello,
I was tasked with pushing PDF attachments to our image system using a VB Macro from Outlook.  Easy enough to do by itself but there is an additional requirement to direct certain pages of the attachment to one folio in the image system and other pages to a different folio.  In the event the user doesn't separate these different documents when they submit them, our home office users must select which pages go to which area.
I have Adobe 9.0 Pro Extended installed but the users only have Reader.
I think the best way to approach this is to have the document opened for viewing and select pages via some control (chkbox?) to save in to a separate document.  So, if pages 1, 8, 22-24 were selected, create a new pdf in the image queue with those pages only.  Maybe this isn't possible with users that only have Reader installed, in which case another method could be suggested? 
If I can just get a general idea on how to accomplish this, what libraries to reference and a snippet or two of code, I can probably put the rest together.  Can anyone out there help me out with a direction to head?
Thanks!

If it is only for split&merge you can use a freeware tool from a long list which can do it, like PDFTK, .....
HTH, Reinhard

Similar Messages

  • Convert different types of files and merged them into one pdf

    Hi, everyone. I'm girl from China.
    There is folder containing severl files of different types, like doc, msg, jpeg etc.   And I want to convert and merge them into one pdf following a certain order. I know that PDFmaker can do that nicely, but the problem is that I have like 3000+ fodlders that requires the same work.
    I want to do it with VBA and Acrobat. I have a Acrobat XI Standard Version and a perfect license, by the way
    And I have got the code(Thanks, Karl Heinz Kremer) of merging two pdfs into one, but how can I convert them into pdf first?
    Thank you very much.
    If I can finish this, I would like to publish my code on this forum.

    Wow, that's great news. But how should I add the Action?
    1. There is no action named "Covert files into Pdf" in the tools panel....
    And if I write Javascript code to do this action. How should I write it?
    app.openDoc({
    cPath: "/c/temp/myPic.jpg",
    bUseConv: true
    These code only works when I specify the path of the file.
    If you know how, pls tell me..........

  • How do I insert and delete pages from a pdf with acrobat 10X?

    How do I insert and delete pages from a pdf with acrobat 10X?

    Alternatively, be sure your page thumbnails panel is open, and click on the icon highlighted in this image, just under the heading.
    You will see a dropdown with the options you need.

  • BPM Split and Merge

    Hi...
       I want to do scenario like file split and merge using BPM.
    for that i have used,
    1.Receive
    2.Transformation(1:N)
    3.Block(ForEach)
    4.Control
    5.EndBlock
    6.Transformation(N:1)
    7.Send.
    while executing the scenario, the message is going to the queue. In that it is showing the status as "Running".
    can you please tell if i did wrong in my scenario?

    > 1.Receive
    > 2.Transformation(1:N)
    > 3.Block(ForEach)
    > 4.Control
    > 5.EndBlock
    > 6.Transformation(N:1)
    > 7.Send.
    U are using an empty infinite block and hence it is in running state always. You dont need a block at all. after 1:n transformation, use the n:1 transformation and send. I know you must be doing a sample scenario. In reality you will have a send step usually for sending to another system line by line. That when you will need a block.
    VJ

  • How do I add and delete pages to a pdf document?

    How do I add and delete pages to a pdf document?

    Hi Paul,
    Adobe Acrobat has the features to add/delete/extract/crop/insert pages to your PDF files and are much more features.
    Adobe Reader has  a very limited features for editing to PDF files.
    Now you can subscribe to Acrobat Plus and see more information at https://www.acrobat.com/acrobatplus/en/home.html
    Or you can download Acrobat XI Pro for trial version from www.adobe.com.
    thank you.
    Hisami

  • My options and tools have changed.  Unable to extract and delete pages in my PDF document.

    My options and tools have changed.  Unable to extract and delete pages in my PDF document.  How can I get them back?

    Well could it be another Adobe I had before?  I bought software and in that under tools on the far right had all kinds of options.  Also under view and window.  Then I bought another adobe product to try and convert a PDF into a word doc and now under tools that is all it wants to do and my view and window options have changed.  Not to mention the new software i bought isn't converting it just spins.  So I am bummed that neither is working for me.  It is more important for me to be able to extract pages then it is to convert.  Which adobe product allows this?  Maybe I can unistall and reinstall the Adobe software I spent 300 dollars on vs the 19.99 product.

  • Split and Merge Paragraphs

    When I split and merge a paragraph a line break is inserted.  Does anyone know a way around this. (Simply deleting the last character seems inelegant and, more importantly, prone to failure).  Here's the code:
    var textFlow:TextFlow = TextConverter.importToFlow(
                        "Hello World",
                        TextConverter.PLAIN_TEXT_FORMAT);
    textFlow.interactionManager = new EditManager();
    var textFlow2:TextFlow = textFlow.splitAtPosition(5) as TextFlow;
    textFlow2.interactionManager = new EditManager();
    textFlow.mxmlChildren = textFlow.mxmlChildren.concat(textFlow2.mxmlChildren);
    trace(textFlow.getText()); // returns "Hello\n World"
    - Daniel Freiman

    If you are asking how to split and merge a paragraph this works.
                var textFlow:TextFlow = TextConverter.importToFlow("Hello World",TextConverter.PLAIN_TEXT_FORMAT);
                // find the paragraph
                var para:ParagraphElement = textFlow.findLeaf(5).getParagraph();    // same as textFlow.getChildAt(0)
                // split paragraph at position five
                var newPara:ParagraphElement = para.splitAtPosition(5) as ParagraphElement;
                trace(textFlow.getText());
                // now the merge
                // remove newPara its being discarded
                newPara.parent.removeChild(newPara);
                // move the children
                while(newPara.numChildren)
                    para.addChild(newPara.getChildAt(0));
                trace(textFlow.getText());
    This is using pure model level calls.  In your original code you added an EditManager- it can be done that way too.  TLF is layered - the EditManager manipulates the model with model level calls.  It provides APIs connected to events that create operations do to that.
    Hope that helps,
    Richard

  • Merging pages in same PDF

    hi all,
    I'd like to know if it's possible to merge the 2 pages in same PDF as a single page. Cause when I crop the pages with Tools->Crop, I got some weird look of the page even if I crop small portion of it, it still remains as single individual page. There should be a way to overcome that hurdle with merging/joining the two remnant parts of page to comprise the one final page.
    any help ?

    Actually this is the one of the solutions, the glitch here is,  cropped pages are disordered (e.g. if you crop some portion of page just cropped part is visible at the very same location, where it's supposed to be alligned to bottom, top left right etcc..) so the final page is something like that ,
    1st page : %80 blank, text is at the bottom
    2nd page: center aligned text and the rest of the page is blank
    3rd page : text is close to the top part of page
    So when I combine these pages into one page as you mentioned I'll get shuffled texts on one page with multiple pages per sheet, but  my main problem was to create a single page from multi pages and align the texts properly.
    thanks in advance.

  • InDesign Index - Indexing a book and having page links in PDF

    I am creating an index on a book made up from 30 indesign documents.  When I export the book to a PDF I want to be able to click on the index page numbers and have it go to that page.  The problem is that I can only get the index links in a PDF to work on the document that I have the index.  If I have my index in the last document and I create a index entry to the second page it creates it fine but once exported into a PDF the link doesn't work.  In CS4 I created small books like this with no problems.
    Any sugestions?
    Thanks,
    Josh

    Joshmon2003 wrote:
    Peter,
    The links that work look like this:
    The links that are not working look like this:
    for some reason indesign CS5 created the link differently when it is in a different document but in the same book.  Any ideas on how to fix this??  In CS4 this worked fine.
    Thanks,
    Josh
    Hi, Josh:
    You didn't mention the Tagged PDF and Buttons and Media settings. Not sure if they make a difference, but it helps to know as much as possible, sometimes.
    The failing link is looking for a PDF file on the H: drive, while the successful link doesn't specify a directory path. I haven't done much specifically in InDesign with exported multi-file books. However, from my Acrobat experience, I can see that the individual files of your InDesign multi-file book are being converted to individual PDF files, and their original paths are retained in the exported links.
    I don't know if the link paths are different if you export the book to PDF by deselecting all the individual InDesign book files by clicking in the blank area below the last title in the Book panel, and choose Export Book to PDF from the Book panel menu, or if you select all the titles and choose Export Selected Documents to PDF.
    As far as I know, there's no way to create a single PDF from a multi-file InDesign book document, though it's likely that the links would work because no pathname would be involved, as with your successful link.
    Are all the individual book files in a single folder (a single path), or scattered across multiple folders (multiple paths)?
    If you want your PDF book to be a collection of individual files, on thing you can try is to use Package Book for Print from the Book panel's menu. This copies everything that comprises all the individual book files, and their linked content, into one folder, with a single pathname. Exporting the book file created by the package should make all the link paths the same, so there's a good chance you'll get what you want.
    When you say that this worked in an earlier InDesign release, do you mean that the same set of project files worked in the past and are failing now in CS5? Or, is your current project a new one, with assets in multiple folders? Were all the component files and the linked stuff in your old successful project, all in one folder? 
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Split or extract pages from a PDF form?

    Once I convert my PDF into a form in LiveCycle Designer I am unable to then extract or split pages from the PDF in Adobe Acrobat Pro. Does anyone know if this is possible?
    Thanks for your help!
    Megan

    LiveCycle PDFs aren't really PDFs so there are a lot of things in Acrobat you can't do with them.

  • Split and merge frames.

    Hello everyone. Simple question.
    When i want to make rectangle path  with many rows and columns i use arrows on keyboard. (like this video  http://www.youtube.com/watch?v=5Gjhpk8Vmo0 )  But, how can i split and then merge created frame yet? Certainly i can at once to create one frame with many columns and rows, but recently i has needed create frame with 2 rows and 3 columns, and middle columns had to be connected. I didn't know  how do that!
    Thanks! )

    Once you have created a gridified frame, then using the Gap Tool, hold down Command or Ctl key while adjusting size of frame or gap individually. Make an adjustment where the two desired frames overlap, not just against each other. Then use the direct selection tool to select overlapped frames. Then use Object > Pathfinder > Add to merge two frames. This new frame will still be live within the gridified group.

  • Can iMovie split and merge audio/video?

    Hi, I'm wondering if someone could help me in my decision of video-editing software. I'm considering buying iMovie 11 but I want to know first if it does a few things.
    Does it let you split, move, merge, trim, fade, copy/paste, and edit the volume of audio (as opposed to iMovie 08's ability to only move, trim, and fade)?
    Does it let you do the same things, but with video clips?
    Also,
    Does it let you export to HD (either 720p or 1028p)?
    Do transitions cause the video to lose quality (like they do in iMovie HD)?
    Thanks! Any sort of advice on any of these things would be VERY appreciated.

    Once you have created a gridified frame, then using the Gap Tool, hold down Command or Ctl key while adjusting size of frame or gap individually. Make an adjustment where the two desired frames overlap, not just against each other. Then use the direct selection tool to select overlapped frames. Then use Object > Pathfinder > Add to merge two frames. This new frame will still be live within the gridified group.

  • Splitting and merging columns in a table?

    Hi I have asked this question before. Does any one know how to split a column into two in a table. Know this can be done in a Word Doc. I know the merge works but can't seem to find the split.

    The merge is simple if you do not think about it as in word:))
    The merge can be done using scripting: just concatenate the values of the fields into one variable, fill in the value to the first column, change its width (to the width of the previous 4 cols) and hide te remaining/ blank cols.
    Have fun, Otto

  • Spreads and single pages export to pdf

    Hi
    I have a document that is laid out as spreads 2 a4's next to each other. ie the back page is shown as the first with the front page as page 2.
    I need to export for both single page pdf electronic copy (ie front cover currently page 2 as page 1 of the pdf.)
    I also need to export the file as a printable spread. Back page as page 1 of pdf.
    This is all doable at the moment except when i export the single page electronic pdf (uncheck spread in the export options) it gives me the last page as the first of the pdf. Is there a way i can reorder these to make what is currently page 1 as the last.
    hope this makes sense.
    thanks Job

    When you say "printable spreads" I take it you don't mean imposed into the correct order for binding, but just reader's spreads printed onto a single sheet for proofing or something similar.
    Some additional details about how you use these spreads would be useful.

  • Splitting dual book pages into separate pdf pages

    I have a book scanned into pdf with two book pages per adobe page (side by side). How can I split the pdf page in way that each book page becomes its own pdf page? My chief concern is that one side is always tilted which makes reading and highlighting difficult. Any help would be great. I have Acrobat 9 pro on vista. thanks.

    I have had to do this in the past, but the problem is the file size then
    doubles. I haven't figured out an easy to way to remove the data from the
    cropped areas.

Maybe you are looking for

  • Error while updating Agent to run scheduler.

    Hi, Source: MS SQL Target: Oracle I am new to ODI and I want to know how to setup ODI agent to run particular scheduler. I have created agent at topology-->Physical Architecture--> Agent and assign the respective logical agent in topology-->Logical A

  • How do I get my library back after a PC re-build

    Had problems with my profile so had to re-build my machine. I now have nothing in my Purchased list. Is it possible to get the library back?

  • Why Is Itunes Not On My Auto Play List On Vista

    My Ipod Does Not Sync With Itunes Or Even Recognise It. I Have Checked My Auto Play In Control Pannle And On The I Pod List I Tunes Is Not There Only Ask Me Every Time Or Never Ask Me I Have Un And Re-Installed Itunes But Nothing Changed Can Anyone H

  • Text Box borders take too long to download

    Can anyone help me out. I have a web site (www.ravensfc.com) If you look on the site the white lines around the text boxes are the last to load and seem to hold up the site. I have used html optimiser but this just seems to cut the image size. I was

  • Updating and syncing issues from iPhone to iPad

    I have two issues.  I just got new iPhone and after creating an iCloud account all my contacts will only appears numbers on my phone (no names attached to the contacts) and now that updated my iPad to io5 nothing will sync with my iPhone. I checked m