two different colour for letter

S

sagar

hoe we can change the colour of the leeter. i want to type two diifferent
colour in one word.
 
P

p0

hoe we can change the colour of the leeter. i want to type two diifferent
colour in one word.

In the same way as you would change the color for an entire word.
Instead of selecting the entire word, only select the part you want to
color in one color. Then do the same for the other part.

Yves
 
G

Graham Mayor

You can colour the alternative characters of a selected piece of text (here
red and blue) with a simple macro

Sub ColorText()
Dim colA As String
Dim colB As String
Dim i As Long
Dim j As Long
colA = wdColorBlue
colB = wdColorRed
With Selection
For i = 1 To .Characters.Count Step 2
.Characters(i).Font.Color = colA
Next i
For j = 2 To .Characters.Count Step 2
.Characters(j).Font.Color = colB
Next j
End With
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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