Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    La Jolla, CA
    Posts
    1,470
    Thanks
    30
    Thanked 62 Times in 58 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 29 Times in 29 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
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 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
  •