Advertisement
Guest User

overline word macro

a guest
Feb 14th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Sub Overline()
  2. '
  3. ' Overline Macro
  4. '
  5. '
  6. Selection.OMaths.Add Range:=Selection.Range
  7. Selection.OMaths(1).Functions.Add(Selection.Range, wdOMathFunctionAcc).Acc _
  8. .Char = 773
  9. Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdMove
  10. Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdMove
  11. Selection.MoveRight Unit:=wdCharacter, Count:=2
  12. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement