Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
livetohike livetohike is offline
external usenet poster
 
Posts: 53
Default Can't get rid of replace text in the "Replace with"

Word 2000

After many years of use, all of a sudden there is some replace text
'stuck' in the Replace with field. I delete it and it comes back some
time latter. For what its worth the text is: \1^032\2 (Which I
probably used at some point in the past.
Thanks

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Klaus Linke Klaus Linke is offline
external usenet poster
 
Posts: 413
Default Can't get rid of replace text in the "Replace with"

"livetohike" wrote:
Word 2000

After many years of use, all of a sudden there is some replace text
'stuck' in the Replace with field. I delete it and it comes back some
time latter. For what its worth the text is: \1^032\2 (Which I
probably used at some point in the past.
Thanks


Do you use some macro that might do a wildcard replacement?
The macro could be re-written so it does not mess with the Find dialog...
either by re-setting the replacement text when it's finished, or by using
Range.Find instead of Selection.Find.

Regards,
Klaus


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
livetohike livetohike is offline
external usenet poster
 
Posts: 53
Default Can't get rid of replace text in the "Replace with"

On Aug 31, 11:15 am, "Klaus Linke" wrote:
"livetohike" wrote:
Word 2000


After many years of use, all of a sudden there is some replace text
'stuck' in the Replace with field. I delete it and it comes back some
time latter. For what its worth the text is: \1^032\2 (Which I
probably used at some point in the past.
Thanks


Do you use some macro that might do a wildcard replacement?
The macro could be re-written so it does not mess with the Find dialog...
either by re-setting the replacement text when it's finished, or by using
Range.Find instead of Selection.Find.

Regards,
Klaus



Yes, that was it! I don't know what Range.Find is so I added the two
lines at the bottom of the macro.

Thanks.

Sub ConvertWrap()
With Selection.Find
.Text = "([!^013])^013([!^013^t])"
.Replacement.Text = "\1^032\2"
.Forward = True
'.Wrap = wdFindContinue
.Wrap = wdFindAsk
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = True
.Execute Replace:=wdReplaceAll

'I added these two lines
.Text = ""
.Replacement.Text = ""
End With
End Sub

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to replace "enter character" with "space character" in msword MS-Word Microsoft Word Help 2 May 9th 23 08:52 AM
Search and replace blank cells with "N/A" within a Word Table [email protected] Tables 1 February 16th 07 10:51 PM
how do you get "Find & Replace" to stop pooping up while typing lovelyladyc Microsoft Word Help 1 September 17th 06 03:06 AM
"find" and "search/replace" modes bettysue Microsoft Word Help 5 June 29th 06 08:15 PM
Can I print the AutoCorrect "Replace text as you type" list? MT Guru Microsoft Word Help 2 May 25th 06 03:53 PM


All times are GMT +1. The time now is 09:07 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"