Excel表格网

在excel里面用vba能给单元格填充自定义的颜色吗?

130 2023-12-31 10:50 admin   手机版

> Sub xx()Dim c As RangeFor Each c In [e3:j16]Select Case Len(c)Case 10: x = 3Case 9: x = 6Case 8: x = 10Case 7: x = 5Case Else: x = xlNoneEnd Selectc.Interior.ColorIndex = xNextEnd Sub

顶一下
(0)
0%
踩一下
(0)
0%
相关评论
我要评论
用户名: 验证码:点击我更换图片