Finding a complete list of all character formatting

J

John Devlon

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
 
J

Jezebel

In the object browser. Display the object and work your way through its
properties. The properties are also listed in VBA Help.
 
H

Helmut Weber

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top