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

M

Martin

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!
 
H

Helmut Weber

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
 
W

Word Heretic

G'day "Martin" <[email protected]>,

Selection.Range.Font.Bold = True

Steve Hudson - Word Heretic

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


Martin reckoned:
 

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