Microsoft Word 2007

A

Andrew K

I am trying to put an "X" through a letter or several X's through a series of
letters that form a word. I am aware of the "strikethrough" and "double
strikethrough" options but this is not what I want. I want to cross out a
word using X's.

Can you help me?
 
G

Greg Maxey

AFAIK there isn't any formating tool that you could use to do this. It is
possible to overstrike one character (word, or phrase) over another. You
would use and EQ field with the overstrike switch.

e.g., { EQ \o(Some words,XXXXXXXXXX) }

You could select text and run this macro:

Sub ScratchMacro()
Dim pStr As String
Dim pX As String
Dim i As Long
pStr = Selection.Text
For i = 1 To Len(pStr)
pX = pX + "X"
Next i
Selection.Fields.Add Selection.Range, wdFieldEmpty, _
"EQ \o(" & pStr & "," & pX & ")", False
End Sub
 
G

Greg Maxey

BTW,

Using an overstrike "X" to mark out text would probably only work (look
right) with non-proportional fonts.
 
R

Robert M. Franz (RMF)

Hello Andrew

Andrew said:
I am trying to put an "X" through a letter or several X's through a series of
letters that form a word. I am aware of the "strikethrough" and "double
strikethrough" options but this is not what I want. I want to cross out a
word using X's.

if you prefer another approach to the problem, the following might be
worth a try:

Word 2007 Redaction Tool
http://www.codeplex.com/redaction/Release/ProjectReleases.aspx?ReleaseId=17177

(still in beta though ...)

HTH
Robert
 

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