|
运行到下行红色的部分,提示数据溢出,怎么处理?
·······
Worksheets("1月趋势监控1#").Activate
Set sH = Worksheets("1月趋势监控1#")
With sH
Set sg = .Range("1:1").Find("07-11D", lookat:=xlPart)
If Not sg Is Nothing Then
.Cells(2, sg.Column) = Sheets("生产日报").Cells(rg.Row, "ab")
.Cells(3, sg.Column) = Sheets("生产日报").Cells(rg.Row + 3, "ac")
.Cells(5, sg.Column) = Sheets("生产日报").Cells(rg.Row + 4, "w")
.Cells(6, sg.Column) = "90.00%"
.Cells(7, sg.Column) = Worksheets("生产日报").Cells(rg.Row + 4, "ag") / Worksheets("生产日报").Cells(rg.Row + 4, "ac")
End If
End With
·······
|
|