VBA获得EXCEL条件格式单元格颜色DisplayFormat.Interior.ColorIndex
标签:
活力星语金钟常鸣vb |
分类: VBA |
Sub Formatcolor()
For i = 1 To 12
Cells(i, 2).Select
Cells(i, 3) =
Selection.DisplayFormat.Interior.ColorIndex
Next
End Sub

加载中…