|
Dim x As Integer, m1 As Integer, m2 As Integer |
If Cells(x, 1) = "" Then Exit Sub |
If Cells(x, 3) <> Cells(x + 1, 3) Then |
Cells(x + 1, "c") = Cells(x, "c") & " 小计" |
Cells(x + 1, "h") = "=sum(h" & m1 & ":h" & m2 & ")" 这里为什么要这样写,谁能帮我解答一下 | 我有点蒙.....Cells(x + 1, "h").Resize(1, 4).FillRight |
|
|