Forum Discussion
A particular symbol unable to search and replaced in Word
WIth the selection in the Find what control, hold down the ALT key and type 0172 on the numeric keypad which will insert ¬ into that control. If you want to search for the symbol plus the word following it, insert the word after the ¬
If you want to delete the ¬ from before whatever words it appears before, run a macro containing the following code:
With ActiveDocument.Range
.Text = Replace(.Text, Chr(172), "")
End With
If that does not help can you provide a copy of document that contains the symbol and provide details of how you want the document changed.
- Harald_BergmanJul 04, 2022Copper ContributorEven though it is in Swedish, the symbols are the same as in English, and the principle is easy to translate.
- Harald_BergmanJul 04, 2022Copper Contributor
Lett me give a example. Take a look in the left side, and se what the browser can recognize and not (Inga matchningar=No results)
- Jul 04, 2022
Harald_Bergman Did you try using the macro that I included in my response.
If you want the ¬ replaced by a space, use
With ActiveDocument.Range
.Text = Replace(.Text, Chr(172), " ")
End Withwith a space between the quotation marks
If you need more assistance, can you provide a copy of the document.