- ©«¤l
- 7
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 13
- ÂI¦W
- 0
- §@·~¨t²Î
- Win8
- ³nÅ骩¥»
- X64
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2013-9-11
- ³Ì«áµn¿ý
- 2013-9-13
|
ÁÂÁª©¤j,
¨ä¹ê§Ú¦Û¤v¤]µy·L§Ë¤F¤@¤U,- For i = 1 To (row - 1)
- itopen.Activate
- A = ActiveCell.Offset(i, 0) ==> §ì¨úopen date
-
- itclose.Activate
- b = ActiveCell.Offset(i, 0) ==> §ì¨úclose date
-
- itsev.Activate
- c = ActiveCell.Offset(i, 0) ==>§ì¨úSeverity
- itverify.Activate
- d = ActiveCell.Offset(i, 0) ==>§ì¨úverify date.
½Æ»s¥N½X §ÚÓ¤Hı±o³Ì¤jªº°ÝÃD¬O~ §Ú¤£ª¾¹D«ç»ò¥h§ì¥h Status ªºÄæ¦ì¨Ã±N¥¦³]©w¦b¦r¦ê¦b¶i¦æ¤ñ¹ï.- If Int(DateDiff("d", A, Astart)) >= 0 Then totalnum = totalnum + 1 ==>³oÃä¬O§ì verify date ©MOpen date»PAstart date °µ¤ñ¹ï. (Astart date ¬O«ü¦V¨ìcover page ¤¤ªº Test_Start Date)
- If (Int(DateDiff("d", b, Astart)) >= 0) And (b > 1000 / 1 / 1) Then closenum = closenum + 1 ==>³oÃä¬O§ì¨úverify date ©MClosed date »PAstart date °µ¤ñ¹ï
½Æ»s¥N½X ³o¨â¬qcode ³£¥i¥H§ì¨ì¥¿½TªºÈ.
¦]¬°¤]¥H¬°¥Î¦¹¤è¦¡¥i¥H§ì¨ì ¦r¦ê¤è¦¡
§Ú´N¼g¦¨- Dim str2 As string
- itlimitation.Activate
- For i = 1 To (row - 1)
- str2 = Worksheets("Raw_Data").Cells(i, 11).Value ==> §Ú¥H¬°·|§âstring ¥á¤Jstr2, ¦ý¬O¨Ã¨S¦³.
- If IsEmpty(ActiveCell.Offset(i, 0)) = False Then lim = ActiveCell.Offset(i, 0)
- If EndDate < lim Then EndDate = lim
- Next i
½Æ»s¥N½X- If (Int(DateDiff("d", b, Astart)) >= 0) And (b > 1000 / 1 / 1) And (InStr(str2, "Limitation")) Then limnum = limnum + 1 ==>±o¨ìªºµ²ªGalways ¬O1
½Æ»s¥N½X ¦]¦¹ §Ú´«Ó¼gªk- If (Int(DateDiff("d", b, Astart)) >= 0) And (b > 1000 / 1 / 1) And (InStr(str2, "Limitation")>=0) Then limnum = limnum + 1 ==>±o¨ìªºµ²ªGalways ¬O Á`¼Æ
½Æ»s¥N½X §Ú·Qª¾¹D, ¦³¬Æ»ò¤è¦¡.¬O¥i¥H±Ä¥Îi ´`Àô ±Nstring ¸ü¤Jstr2 «á, ¦A¥á¨ì²Ä¤G¬qcode °µ¤ñ¹ï. ¦pªG¥¿½T+1. |
|