Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2005

Tip: Looking for answers? Try searching our database.

Finding a complete list of all character formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Devlon - 31 Jan 2005 22:46 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.