- ©«¤l
- 254
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 310
- ÂI¦W
- 0
- §@·~¨t²Î
- W10
- ³nÅ骩¥»
- Excel 2016
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2019-6-16
- ³Ì«áµn¿ý
- 2024-9-23
|
°ÝÃD¸Ñ¨M¤F ÁÂÁ·Ǵ£¤j¤jªºÀÉ®× ÁÙ¦³ n7822123¤j¤jªº ´£ÂI
«á¨Ó·Q¨ìªº¤è¦¡ ¬O§Q¥Î False ¸ò True ªº Boolean ÅÜ¼Æ µM«á¦A§â ½ü¯ZªºÃC¦â¦¸¼Æ¥ý¦s¨ì Àx¦s®æ
¦A©µ¥Î ´N¥i¥H¤F XD- If Y <= Cells(6, 11) Then
-
- Select Case DateDiff("d", DateValue(d & "/1/1"), Cells(K, 1)) Mod Cells(5, 11) + 1
- Case 1 To Cells(3, 11)
-
- If Cells(1, 10) <> Year(Date) Then sss = True
-
- If yyy <> 0 And yyy <> Cells(3, 11) And sss = True Then
-
- Cells(U + 1, W) = "©]¯Z"
- Cells(U + 1, W).Font.Color = RGB(114, 0, 55)
- Cells(U + 1, W).Interior.Color = RGB(255, 208, 0)
-
- If Cells(U + 1, W) <> "¥ð°²" And Cells(U + 1, W) <> "¤W¯Z" Then yyy = yyy + 1
- Cells(1, 13) = yyy 'Àx¦s©µ¦ù¤Ñ¼Æ
-
- If yyy = Cells(3, 11) Then
- yyy = 0
- sss = False
- End If
-
- Else
- Cells(U + 1, W) = "¤W¯Z"
- Cells(U + 1, W).Font.Color = RGB(0, 0, 89)
- Cells(U + 1, W).Interior.Color = RGB(150, 201, 123)
- End If
-
- If Cells(U + 1, W) <> "¥ð°²" And Cells(U + 1, W) <> "©]¯Z" Then kkk = kkk + 1
- Cells(1, 12) = kkk 'Àx¦s©µ¦ù¤Ñ¼Æ
- If kkk = Cells(3, 11) Then kkk = 0
-
- End Select
-
- ElseIf Y <= Cells(6, 11) * 2 Then
-
- Select Case DateDiff("d", DateValue(d & "/1/1"), Cells(K, 1)) Mod Cells(5, 11) + 1
- Case 1 To Cells(3, 11)
-
- If Cells(1, 10) <> Year(Date) Then sss = True
-
- If kkk <> 0 And kkk <> Cells(3, 11) And sss = True Then
-
- Cells(U + 1, W) = "¤W¯Z"
- Cells(U + 1, W).Font.Color = RGB(0, 0, 89)
- Cells(U + 1, W).Interior.Color = RGB(150, 201, 123)
-
- If Cells(U + 1, W) <> "¥ð°²" And Cells(U + 1, W) <> "©]¯Z" Then kkk = kkk + 1
- Cells(1, 12) = kkk 'Àx¦s©µ¦ù¤Ñ¼Æ
- If kkk = Cells(3, 11) Then
- kkk = 0
- sss = False
- End If
-
- Else
- Cells(U + 1, W) = "©]¯Z"
- Cells(U + 1, W).Font.Color = RGB(114, 0, 55)
- Cells(U + 1, W).Interior.Color = RGB(255, 208, 0)
- End If
-
- If Cells(U + 1, W) <> "¥ð°²" And Cells(U + 1, W) <> "¤W¯Z" Then yyy = yyy + 1
- Cells(1, 13) = yyy 'Àx¦s©µ¦ù¤Ñ¼Æ
- If yyy = Cells(3, 11) Then yyy = 0
-
- End Select
-
- End If
½Æ»s¥N½X ÁÂÁ¤j¤j̪º«ü¾É |
|