- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 82
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-4-6
               
|
¦^´_ 9# b9208
Y¥Î201103ªí¥Ü2011¦~²Ä¤T©P³o¼Ë¥i¦æ
¨ç¼Æ¤è¦¡½Ð°Ñ¦Ò
A4=DATE(LEFT($A$2,4),1,1)-WEEKDAY(DATE(LEFT($A$2,4),1,1),2)+(RIGHT($A$2,2)-1)*7+MATCH(LOWER(B4),{"mon","tue","wed","thu","fri","sat","sun"},0)
¦V¤U½Æ»s
VBA½Ð°Ñ¦Ò- Sub nn()
- Set d = CreateObject("Scripting.Dictionary")
- k = DateSerial(Left([A2], 4), 1, 1) - Weekday(DateSerial(Left([A2], 4), 1, 1), 2) + (Right([A2], 2) - 1) * 7
- For i = 1 To 7
- x = UCase(Format(k + i, "ddd"))
- d(x) = k + i
- Next
- For Each c In Range([B4], [B4].End(xlDown))
- c.Offset(, -1) = d(UCase(c))
- Next
- End Sub
½Æ»s¥N½X |
|