- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 257
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-27
|
¨ä¹ê¥Î¤½¦¡´N¯à¸Ñ¨M
n¥Îvbaªº¸Ü- Private Sub Workbook_Open()
- Dim Ay(3, 2)
- Ay(0, 0) = 0: Ay(0, 1) = "©¾¸Û«È": Ay(1, 0) = 9.1: Ay(1, 1) = "¤[¥¼¦^«È": Ay(2, 0) = 12.1: Ay(2, 1) = "¬y¥¢«È"
- With Sheet1
- Set rng = .Range(.[E2], .[E65536].End(xlUp))
- For Each a In rng
- If IsDate(a) Then
- m = Round((Date - a) / 30, 2)
- k = Application.VLookup(m, Ay, 2)
- a.Offset(, 11).Resize(, 3) = Array(m, k, a.Offset(, -3) & "-" & k)
- End If
- Next
- End With
- End Sub
½Æ»s¥N½X |
|