Results 1 to 4 of 4
  1. #1
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Update FieldCodes inside TextBox (Win XP, Word 2003)

    I have a textbox in a document and inside the textbox I have placed a couple of field codes. These need to be updated when change the document.

    I have used the code ActiveDocument.Fields.Update, but it will not update within the textbox, only outside.

    Can anyone give me some help in achieving the update?

    Thanks!

    bjoeng

  2. #2
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Update FieldCodes inside TextBox (Win XP, Word 2003)

    This was discussed recently and Macropod came up with some code to update all fields throughout a document.
    See <post#=288634>post 288634</post#> for details.

    Alan

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Update FieldCodes inside TextBox (Win XP, Word 2003)

    And another one that updates all stories & text boxes, see <post#=294288>post 294288</post#>.

  4. #4
    3 Star Lounger
    Join Date
    Jul 2001
    Location
    ASKER, Norway
    Posts
    277
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Re: Update FieldCodes inside TextBox (Win XP, Word 2003)

    Thanks a lot.
    I'll give it a try, and according to the earlier conversationsin the posts, it works very well.

    Thanks!
    bjoeng

Posting Permissions

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