つらつら Excel VBA

私の備忘録です。

Interior.ColorとInterior.ColorIndex

Interior.Colorでは背景色未設定が判別できないので、以下のようにする。

If Interior.ColorIndex=xlNone Then

 

最悪、16777215で比較するとできる