Consulting

Results 1 to 4 of 4

Thread: Keep specefic paragraphs and lines between start and end keywords and delete the rest

  1. #1

    Keep specefic paragraphs and lines between start and end keywords and delete the rest

    Hi, I have a folder of 41 word documents in it. I need to open each of them, then copy and paste specific paragraphs (which I know their start and end keywords) into a new page. At the end I have one page with all the information I want from all the 41 files.


    I'm not sure but I think it's better if i mix all 41 files into 1 file, then I can try to figure out how I can keep my specific paragraphs and delete the rest.


    Please give me a VBA code to do that. Thanks.

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    Cross-posted at: http://www.msofficeforums.com/word-v...ts-folder.html
    Please read VBA Express' policy on Cross-Posting in item 3 of the rules: http://www.vbaexpress.com/forum/faq...._new_faq_item3
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3

    Question

    Hello, what do mean by that. I'm not sure i did something wrong. If you meant plagiarism or something like that, that's not true, because it's not my homework, I'm working and i need to facilitate my job. Please exaplain me if you meant something else. Thank you in advance.

  4. #4
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    Kindly read the forum rule I directed your attention to.
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •