Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Fields / Range (Word XP)

    I am cycling through the Fields collection of the Active Document, and I would like to set a specific feld (a Custom Doc Property, f found) as a Range so that I can set the font to hidden or color white; this would be a toggle as I'll want to return it to its normal color at a later time. Short of selecting the field and using Selection.Font.Color, is there a way to set the field as a Range. There doesn't seem to be a Range member associated with the Fields collection.
    Thanks,
    Richard Barrett

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

    Re: Fields / Range (Word XP)

    The Result property of a field returns the associated range

    Dim fld As Field
    ...
    fld.Font.Hidden = True

Posting Permissions

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