WD2000: Edit/Replace Fails to Replace Font Kerning ValueID: Q209895
|
When you try to replace the font kerning Points and Above value, using either Replace on the Edit menu or from the Visual Basic Editor, the Points and Above value does not change as expected.
To work around this problem, use one of the following methods:
http://www.microsoft.com/support/supportnet/refguide/If you want to find and replace all the font kerning Points and Above values in a document, you can use the following Visual Basic for Applications procedure:
Sub ReplaceAllFontKerning()
If Documents.Count = 0 Then Exit Sub
Selection.HomeKey Unit:=wdStory
With Selection.Find
.ClearFormatting
.Font.Kerning = 12
.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
Do Until .Execute = False
With Selection
.Font.Scaling = 100
.Font.Kerning = 8
.Collapse
End With
Loop
End With
End Sub
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
Additional query words:
Keywords : kbdta wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 13, 1999