excel宏编辑中,显示1004错误。方法Range作用于对象_global失败。求问是怎么回事? 5
Subfill_color()Application.ScreenUpdating=FalseFori=4To43ActiveSheet.Shapes(Range("He...
Sub fill_color()
Application.ScreenUpdating = False
For i = 4 To 43
ActiveSheet.Shapes(Range("Heat Map!A" & i).Value).Fill.ForeColor.RGB = Range(Range("Heat Map!C" & i).Value).Interior.color
Next i
Application.ScreenUpdating = True
End Sub 展开
Application.ScreenUpdating = False
For i = 4 To 43
ActiveSheet.Shapes(Range("Heat Map!A" & i).Value).Fill.ForeColor.RGB = Range(Range("Heat Map!C" & i).Value).Interior.color
Next i
Application.ScreenUpdating = True
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询