Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jun 2004
    Location
    Oxford, Oxfordshire, United Kingdom
    Posts
    203
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Font spacing search (XP SR3)

    I am trying to write a word macro that finds all text with either condensed or expanded character spacing, but it seems impossible to specify

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

    Re: Font spacing search (XP SR3)

    As far as I know, you can only search for a specific value. The only way I can think of is tedious: create a loop in which the font spacing to search for is increased by 0.05 in each step:

    Dim i As Integer
    With Selection.Find
    ...
    For i = 1 To 40
    .Font.Spacing = i * 0.05
    .Execute ...
    Next i
    End With

    and similar for condensed text.

Posting Permissions

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