Hi Amir
If you want a rough approach that approximates your requirements, try
Sub ReplaceStraightUnderlineWithDottedUnderlineDoubleSpaced()
With Selection.Find
.Text = ""
.Font.Underline = wdUnderlineSingle
With .Replacement
.Text = ""
.Font.Underline = wdUnderlineDotted
.ParagraphFormat.LineSpacingRule = wdLineSpaceDouble
End With
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute Replace:=wdReplaceAll
.Replacement.ClearFormatting
.ClearFormatting
End With
End Sub
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
> G'day "Amir" <agamy@actcom.co.il>,
>
[quoted text clipped - 48 lines]
>>
>>Can anyone help?
Amir - 09 Jul 2005 07:24 GMT
Hi Shauna,
This is a bit different from what I meant.
I meant replacing the underlines with real characters of dashes: '-', which
will be placed under the underlined character.
All characters has the same width in my documents which makes it a bit
easier but still complicated.
I need this in order to convert documents to emulation program which does
not recognizes Word's underlines, therefore needs to use 'real' dashes under
the lines (instead of the 'space').
Thank you for your help.
> Hi Amir
>
[quoted text clipped - 82 lines]
>>>
>>>Can anyone help?