[ 初めての方へ | 一覧(最新更新順) | 全文検索 | 過去ログ ]
『下線文字のみ文字色を変える』(にゃんこ)
Dim ix As Long
Dim iy As Long
Dim ic As Long
For iy = 1 To 100
For ix = 1 To 100
For ic = 1 To Len(Cells(iy, ix).Text)
If Cells(iy, ix).Characters(ic, 1).Font.Underline = xlUnderlineStyleSingle Then
Cells(iy, ix).Characters(ic, 1).Font.ColorIndex = 3
End If
Next ic
Next ix
Next iy
End Sub
(???)
[ 一覧(最新更新順) ]
YukiWiki 1.6.7 Copyright (C) 2000,2001 by Hiroshi Yuki.
Modified by kazu.