|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
- Sub ad()
- [g3] = -[b4]
- [i3] = [b6]
- [j3] = [b5]
- [k3] = [b7]
- [f3] = [g3] + [i3] + [j3] + [k3]
- For i = 0 To [b16]
- Cells(i + 3, 4) = i
- Cells(i + 3, 5) = Application.EDate([b11], i * 6)
- If i > 0 Then Cells(i + 3, 6) = Application.Pmt([b8] / (12 / [b17]), [b16], -[b4], 0, 0)
- m = m + Cells(i + 2, 7)
- If i > 0 Then
- Cells(i + 3, 8) = -m * [b8] / (12 / [b17])
- Cells(i + 3, 7) = Cells(i + 3, 6) - Cells(i + 3, 8)
- End If
- Next
- Cells(i + 2, "i") = -[b6]
- End Sub
复制代码 |
评分
-
1
查看全部评分
-
|