- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 254
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-23
|
¦^´_ 11# child
¥Î²Â¤èªk¸Ñ¨M- Sub nn()
- Dim i#
- Set d = CreateObject("Scripting.Dictionary")
- a = CDbl(#10/11/2011 8:00:00 AM#)
- b = CDbl(#10/11/2011 2:30:00 PM#)
- For Each c In Range([C2], [C2].End(xlDown))
- k = Int(a) - Int(c.Offset(, -1))
- c.Offset(, 1) = "N"
- For i = IIf(k = 0, c.Offset(, -1), Int(c.Offset(, -1)) + k - 1) To c Step TimeValue("00:01:00")
- If i >= a And i <= b Then c.Offset(, 1) = "Y": Exit For
- Next
- Next
- End Sub
½Æ»s¥N½X |
|