iEhohs DokuWiki

プログラミングや設定方法など、個人的なナレッジを残しておくWikiです。

ユーザ用ツール

サイト用ツール


excel:vba:format-condition

条件付き書式を設定する

RANGE.FormatConditions.Delete '既に設定されている条件付き書式を削除
With RANGE.FormatConditions.Add(Type:=xlTextString, String:="hoge", TextOperator:=2)
    .Font.Color = RGB(255, 255, 255)    '文字色
    .Interior.Color = RGB(255, 0, 0)    '背景色
End With
スポンサーリンク
excel/vba/format-condition.txt · 最終更新: 2025/03/02 09:27 by shimehitsu14