Alternate Row Colors in Range

前端 未结 8 1642
轻奢々
轻奢々 2020-12-09 13:13

I\'ve come up with the following to alternate row colors within a specified range:

Sub AlternateRowColors()
Dim lastRow as Long

lastRow = Range(\"A1\").End(         


        
8条回答
  •  春和景丽
    2020-12-09 13:26

    Well, you can delete the else part, since you will leave it in the default color

提交回复
热议问题