蛍光ペン マーカー word


’蛍光ペンの既定色を変更
Options.DefaultHighlightColorIndex = wdYellow

Selection.Range.HighlightColorIndex = wdYellow '黄色
Selection.Range.HighlightColorIndex = wdBrightGreen '緑
Selection.Range.HighlightColorIndex = wdTurquoise '水色
Selection.Range.HighlightColorIndex = wdPink 'ピンク
Selection.Range.HighlightColorIndex = wdRed '赤
Selection.Range.HighlightColorIndex = wdGray25 '灰色25%
Selection.Range.HighlightColorIndex = wdGray50 '灰色50%
Selection.Range.HighlightColorIndex = wdNoHighlight '選択中の色
Selection.Range.HighlightColorIndex = Options.DefaultHighlightColorIndex '蛍光ペンなし

’全部蛍光ペンなし
Selection.WholeStory
Selection.Range.HighlightColorIndex = wdNoHighlight