°Æµ{¦¡/if§PÂ_¤£¨ì/½Ð¨D¸Ñ´b
- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-5-14
- ³Ì«áµn¿ý
- 2014-4-8
|
¦^´_ 9# c_c_lai
If StrComp(Cells(a, 1), x, 1) >= 0 And StrComp(y, Cells(a, 1), 1) >= 0
§Úè¬d¤F¤@¤UStrComp¨ç¦¡¥Î¨Ó¤ñ¸û¦r¦ê¡A¥BY²Ä¤@ӰѼƤp©ó¡Bµ¥©ó©Î¤j©ó²Ä¤GӰѼƮɡA¨Ì§Ç¦^¶Ç-1¡B0©Î1
StrComp(Cells(a, 1), x, 1) >= 0 ³o¬O«ç»ò§PÂ_ªº ½Ð±Ð¤@¤U.
Cells(a, 1)©M x¤ñ«á´N¦³ÂI¼Ò½k¤F.. |
|
§A¦n³á
|
|
|
|
|
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¥»©«³Ì«á¥Ñ c_c_lai ©ó 2013-10-22 06:05 ½s¿è
¦^´_ 11# ³Ì°ª¾÷±K
¬Ý¤F¥H¤U¤ÀªR«K¤£·|²V¶Ã¤F¡G- °²³] x¡Ay §Aªº¿é¤JȤÀ§O¬° 20040116¡A20040206
- x = "20040116" (¿é¤JÈ)
- y = "20040206" (¿é¤JÈ)
- [A2]
- Cells(a, 1) = 20040109
- StrComp(Cells(a, 1), x, 1) = -1 ' [A2] < x
- StrComp(y, Cells(a, 1), 1) = 1 ' y > [A2]
- [A3] (±ø¥ó²Å¦X - ¦¨¥ß)
- Cells(a, 1) = 20040116
- StrComp(Cells(a, 1), x, 1) = 0 ' [A3] = x
- StrComp(y, Cells(a, 1), 1) = 1 ' y > [A3]
- [A4] (±ø¥ó²Å¦X - ¦¨¥ß)
- Cells(a, 1) = 20040130
- StrComp(Cells(a, 1), x, 1) = 1 ' [A4] > x
- StrComp(y, Cells(a, 1), 1) = 1 ' y > [A4]
- [A5] (±ø¥ó²Å¦X - ¦¨¥ß)
- Cells(a, 1) = 20040206
- StrComp(Cells(a, 1), x, 1) = 1 ' [A5] > x
- StrComp(y, Cells(a, 1), 1) = 0 ' y = [A5]
- [A6]
- Cells(a, 1) = 20040213
- StrComp(Cells(a, 1), x, 1) = 1 ' [A6] > x
- StrComp(y, Cells(a, 1), 1) = -1 ' y < [A6]
- [A7]
- Cells(a, 1) = 20040220
- StrComp(Cells(a, 1), x, 1) = 1 ' [A7] > x
- StrComp(y, Cells(a, 1), 1) = -1 ' y < [A7]
½Æ»s¥N½X ¼·¶³¨£¤é¤F¶Ü¡H |
|
|
|
|
|
|
- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¤¤
- µù¥U®É¶¡
- 2013-5-14
- ³Ì«áµn¿ý
- 2014-4-8
|
¦^´_ 12# c_c_lai
§ÚÀ´¤F «D±`·PÁ§A |
|
§A¦n³á
|
|
|
|
|