¥»©«³Ì«á¥Ñ Airman ©ó 2015-12-19 20:56 ½s¿è
¥H¤U¬O¹ïÀ³²Ä3¦C®Éªºµ{¦¡½X~
RW = Array(.[R6] - 3, .[T5] - 3, .Range("R" & b.Row) - 3)
Dim R(1 To 3), L(1 To 3)
For y = 1 To 3: Set R(y) = .[J:P].Rows(RW(y - 1) + 6).Cells: Next y
For K = 1 To 7
L(1) = K
For y = 2 To 3
L(y) = Application.Match(R(1)(K), R(y), 0)
If IsError(L(y)) Then L(1) = 0: Exit For
'If L(y) <> L(1) Then L(1) = 0: Exit For¡@'Yn¨D¡e¦PÄæ¡f¡A¥[¤J³o¦æ
Next y
If L(1) > 0 Then
For y = 1 To 3
R(y)(L(y)).Select
Selection.Interior.ColorIndex = Array(6, 4, 8)(y - 1)
Next
End If
Next K
Q_1¡J½Ð°Ý¡J·í¹ïÀ³²Ä3¦C§ï¬°²Ä1¦C®Éªºµ{¦¡½Xn¦p¦óקï?
RW = Array(.[R6] - 1, .[T5] - 1, .Range("R" & b.Row) - 1)
Q_2¡J½Ð°Ý¡J·í¹ïÀ³²Ä3¦C§ï¬°²Ä2¦C®Éªºµ{¦¡½Xn¦p¦óקï?
RW = Array(.[R6] - 2, .[T5] - 2, .Range("R" & b.Row) - 2)
Q_3¡J½Ð°Ý¡J·í¹ïÀ³²Ä3¦C§ï¬°²Ä4¦C®Éªºµ{¦¡½Xn¦p¦óקï?
RW = Array(.[R6] - 4, .[T5] - 4, .Range("R" & b.Row) - 4)
¡¹¡¹¦]¬°¤TÓ°ÝÃD¸Ñµª¬On©ñ¦b¤TÓ¤£¦PªºÀɮסA©Ò¥H·Ð½Ð±N¤TÓ°ÝÃD¤À¶}¿W¥ß§@¸Ñ¡CÁÂÁÂ!
PS¡J¥»¨Ó¦³·Q¶}¤TÃDµo°Ý¤ñ¸û²M·¡¡A¦ý®£³Q»~¸Ñ¬O¬°¼W¥[ÂI¼Æ¡A©Ò¥H¨ÖÃDµo°Ý¡A·q½Ð¨£½Ì¡C
¥H¤W Àµ½Ð¦U¦ì¥ý¶i¡B«e½ú¤£§[½ç±Ð! ÁÂÁÂ! |