Guest User

Untitled

a guest
Jul 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. Selection.Find.ClearFormatting
  2. Selection.Find.Replacement.ClearFormatting
  3. With Selection.Find
  4. .Text = ">="
  5. .Replacement.Text = ChrW(8805)
  6. .Forward = True
  7. .Wrap = wdFindContinue
  8. .Format = False
  9. .MatchCase = False
  10. .MatchWholeWord = False
  11. .MatchWildcards = False
  12. .MatchSoundsLike = False
  13. .MatchAllWordForms = False
  14. End With
  15. Selection.Find.Execute Replace:=wdReplaceAll
  16. End Sub
  17. Sub lessthan()
  18. '
  19. ' lessthan Macro
  20. ' =
  21. '
  22. Selection.Find.ClearFormatting
  23. Selection.Find.Replacement.ClearFormatting
  24. With Selection.Find
  25. .Text = "<="
  26. .Replacement.Text = ChrW(8804)
  27. .Forward = True
  28. .Wrap = wdFindAsk
  29. .Format = False
  30. .MatchCase = False
  31. .MatchWholeWord = False
  32. .MatchWildcards = False
  33. .MatchSoundsLike = False
  34. .MatchAllWordForms = False
  35. End With
  36. Selection.Find.Execute Replace:=wdReplaceAll
  37. End Sub
  38.  
  39. Sub plus_sub()
  40. '
  41. ' plus_sub Macro
  42. ' Substarction and addition sing
  43. '
  44. Selection.Find.ClearFormatting
  45. Selection.Find.Replacement.ClearFormatting
  46. With Selection.Find
  47. .Text = "+-"
  48. .Replacement.Text = "±"
  49. .Forward = True
  50. .Wrap = wdFindContinue
  51. .Format = False
  52. .MatchCase = False
  53. .MatchWholeWord = False
  54. .MatchWildcards = False
  55. .MatchSoundsLike = False
  56. .MatchAllWordForms = False
  57. End With
  58. Selection.Find.Execute Replace:=wdReplaceAll
  59. End Sub
Add Comment
Please, Sign In to add comment