- ©«¤l
- 463
- ¥DÃD
- 116
- ºëµØ
- 0
- ¿n¤À
- 580
- ÂI¦W
- 0
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-4
- ³Ì«áµn¿ý
- 2017-11-13
|
¦^´_ 20# yen956
«e½ú!ÁÂÁÂ!!
§Aªº·Qªk»P½d¨Ò¦³©Ò¥X¤J
¤p§Ì¬Q¤é²×©ó·Q¥X¸Ñ¨M¤èªk
¦¡µ{¦¡¦p¤U½Ð°Ñ¦ÒÁÂÁ¦A¤T!!- Sub ExA()
- Dim C As Integer, i As Integer, R As Integer
- [A2] = 1
- [B2] = "=EDATE(B3,-1)"
- [B2].NumberFormatLocal = "[$-404]e/m/d;@"
- C = [Ag1].Column
- R = Cells(Rows.Count, [Ag1].Column).End(xlUp).Row + 1
- If R < 3 Then R = 3
- i = 2
- Do While IsDate(Cells(i, "B")) And Cells(i, "B") < Cells(R, "Z")
- If Cells(i, "B") < Cells(R, "Z") Then
- Cells(1, C) = "=SUM(R3C:R200C)"
- Cells(2, C) = "=R" & i & "C1&""µ§"""
- If Cells(2, C) <> "0µ§" Then Cells(R, C) = "=ROUND(r" & i & "c6 *" & [M3] & ",2)"
- C = C + 1
- i = i + 1
- End If
- Loop
- Calculate
- [Ag1] = "°Ñ·ÓÄæ"
- [Ag2] = "1µ§°Ñ·Ó"
- [A2] = 0
- [B2] = "=EDATE(B1,1)"
- [B2].NumberFormatLocal = """¤é""""´Á"""
- [Ag3] = 0
- If [Ag4] <> "" Then [Ag4] = 0
- If [Ag5] <> "" Then [Ag3:Ag4].AutoFill Destination:=Range("Ag3:Ag" & [Ag1200].End(xlUp).Row), Type:=xlFillDefault
- End Sub
½Æ»s¥N½X |
|