Dear colleagues,
Does anyone know were I can find a complete list of all character formatting
proporties that can be checked using VBA like bold, italic, underline, ...
?
(only the character style formatting, not the complete paragraph formatting)
Many thanx
JD
Jezebel - 31 Jan 2005 23:01 GMT
In the object browser. Display the object and work your way through its
properties. The properties are also listed in VBA Help.
> Dear colleagues,
>
[quoted text clipped - 8 lines]
>
> JD
Helmut Weber - 01 Feb 2005 12:46 GMT
Hi John,
in addition to Jezebel's advice,
the macro recorder records often
much more than necessary, and not only
if character formatting is concerned.
This is the result of recording
character formatting.
With Selection.Font
.Name = "Times New Roman"
.Size = 12
.Bold = False
.Italic = False
.Underline = wdUnderlineNone
.UnderlineColor = wdColorAutomatic
.StrikeThrough = False
.DoubleStrikeThrough = False
.Outline = False
.Emboss = False
.Shadow = False
.Hidden = False
.SmallCaps = False
.AllCaps = False
.Color = wdColorBlue
.Engrave = False
.Superscript = False
.Subscript = False
.Spacing = 0
.Scaling = 100
.Position = 0
.Kerning = 0
.Animation = wdAnimationMarchingRedAnts
End With
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000
John Devlon - 01 Feb 2005 22:14 GMT
Dear Jezebel and Helmut
Many thanx for your feedback
JD
> Hi John,
> in addition to Jezebel's advice,
[quoted text clipped - 35 lines]
> "red.sys" & chr(64) & "t-online.de"
> Word 2002, Windows 2000