Results 1 to 1 of 1

Thread: [RESOLVED] Microsoft word copy and paste

  1. #1

    Thread Starter
    Lively Member elmnas's Avatar
    Join Date
    Jul 2009
    Posts
    127

    Resolved [RESOLVED] Microsoft word copy and paste

    Hello guys,

    I am struggling with a copy and paste function between 2 documents

    I want the function to search on the word "claims"
    here is a part of the code,

    ThisDocument.Activate 'Sets the main document active
    Selection.MoveDown Unit:=wdLine, Count:=1
    Windows("Wordfile_EP2488557.docx [kompatibilitetsläge]").Activate
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
    .Text = "claims"
    .Font.Name = "Arial"
    .Font.Size = "12"
    .Font.Bold = True


    I think this works fine.
    the problem is now
    I want the function will copy from the word claims to

    the 2 linebreaks


    how do I specify the range?

    Please help a newb out


    Thank you in advance

    all VB Members
    Last edited by elmnas; Aug 12th, 2014 at 08:03 AM.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width