Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    La Jolla, CA
    Posts
    1,597
    Thanks
    44
    Thanked 77 Times in 72 Posts

    Field code to insert file (2002)

    Here's another one for you, Hans. I can't find a field code in Word that will let me insert a Word document into an existing Word document. The LINK field code seems to want a class (since 2002 is 10, I tried that but it didn't work) and the only option is class 8, which didn't work. Any thoughts?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 31 Times in 31 Posts

    Re: Field code to insert file (2002)

    You can use Insert | File... to insert (a link to) another Word document. It will result in an INCLUDETEXT field. If you want to do this in VBA, use something like

    Selection.InsertFile FileName:="C:TestDemo.doc", Link:=True

  3. #3
    Super Moderator macropod's Avatar
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,240
    Thanks
    2
    Thanked 470 Times in 387 Posts

    Re: Field code to insert file (2002)

    Hi Kevin,

    An INCLUDETEXT field will do what you want.

    Cheers
    Cheers,

    Paul Edstein
    [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
  •