SHARE
TWEET

overline word macro

a guest Feb 14th, 2020 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top