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 / April 2005

Tip: Looking for answers? Try searching our database.

How to write VBA sentenses to change the type of Selected Charaters?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin - 18 Apr 2005 04:49 GMT
How to write VBA sentenses to change the type of Selected Charaters? ( e.g.
make the selected words bigger, blacker)

The difficult point is how to express the " selected charaters" in VBA ?!

Thanks!
Helmut Weber - 18 Apr 2005 10:17 GMT
Hi Martin,

if you talking about different parts of text selected by
using ctrl-shift, then there seems to be no way to process
all that is selected. At least it was that way, when I read
last about it.

There are workarounds, though,
using highlighting instead,
but not at a beginner's level, I'd say.

If the selection is only one piece of text, then
I'd suggest, you use the macro recorder to get you going.

Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000
Word Heretic - 19 Apr 2005 01:17 GMT
G'day "Martin" <lajitong888@21cn.com>,

Selection.Range.Font.Bold = True

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

Martin reckoned:

>How to write VBA sentenses to change the type of Selected Charaters? ( e.g.
>make the selected words bigger, blacker)
>
>The difficult point is how to express the " selected charaters" in VBA ?!
>
>Thanks!
 
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.