Skip to content

Instantly share code, notes, and snippets.

@dck-jp
Created March 22, 2016 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dck-jp/654443602d0358122d1c to your computer and use it in GitHub Desktop.
Save dck-jp/654443602d0358122d1c to your computer and use it in GitHub Desktop.
my macros for Word
Sub 黄色蛍光ペンをひく()
Selection.Range.HighlightColorIndex = wdYellow
End Sub
Sub 装飾解除マクロ()
'
' 装飾解除マクロ Macro
'
'
Selection.Font.ColorIndex = wdBlack
Selection.Font.Bold = False
Selection.Font.UnderlineColor = wdColorAutomatic
Selection.Font.Underline = wdUnderlineNone
Options.DefaultHighlightColorIndex = wdNoHighlight
Selection.Range.HighlightColorIndex = wdNoHighlight
End Sub
Sub 青線を引くマクロ()
'
' 青線を引くマクロ Macro
'
'
Selection.Font.Color = wdColorBlue
Selection.Font.UnderlineColor = wdColorAutomatic
Selection.Font.Underline = wdUnderlineSingle
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment