VBA_A´Á¼Æ¦bB´Á¼Æªº¹ïÀ³È¦³¦AÅã¥Ü©óC´Á¼ÆªºÀx¦s®æ®É¡A«h¦U¼Ð¥Ü©³¦â¤§»yªk¡C
- ©«¤l
- 315
- ¥DÃD
- 51
- ºëµØ
- 0
- ¿n¤À
- 367
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-29
- ³Ì«áµn¿ý
- 2021-10-12
|
¦^´_ 1# Airman
©êºp ^^" #1 §@¼o
§ó§ï»Ý¨D~
VBA_¦C39~¦C59¼W×.rar (26.76 KB)
»Ý¨D¡J½Ð±N¦C39~¦C59ªºµ{¦¡½X¼W׬°~
·íT$5´Á¼ÆªºJ¡JP¤§È¡A¦³Åã¥Ü¦b$R7´Á¼ÆªºJ¡JP¤§Àx¦s®æ¤¤~
¥B¸ÓT$5´Á¼ÆªºJ¡JPÈ¡A¨ä¦b$R7´Á¼Æ¤§¹ïÀ³È¡A¦³¦AÅã¥Ü©ó$R7+T$3´Á¼ÆªºJ¡JP¤§Àx¦s®æ¤¤®É~
«h±N²Å¦X¤Wz±ø¥óªº¦U²Õ¦X¡A®Ú¾ÚT$5´Á¼ÆJ¡JPÄæ¦ìªº¶¶¦ì~¨Ì§Ç¼Ð¥Ü40¸¹,39¸¹,45¸¹,4¸¹,38¸¹,37¸¹,8¸¹©³¦â¤§»yªk¡C
'R7&T5¤G¦Cªº¤£¦PÄæ©Î¦PÄ椧¥æ¶°.........................................................................'¦C38
If .[T5] > .Range("R" & b.Row) And .Range("R" & b.Row) > 0 Then
Dim L(1 To 2)
U = 0: RW = Array(.[T5], .Range("R" & b.Row))
For y = 1 To 2: Set R(y) = .[J:P].Rows(RW(y - 1) + 6).Cells: Next y
For z = 1 To 7
L(1) = z
For y = 1 To 2
L(y) = Application.Match(R(1)(z), 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 2
R(y)(L(y)).Select
'Selection.Interior.ColorIndex = Array(4, 8)(y - 1) '¼Ð¥Ü¡eÓ§O¡f©³¦â
Selection.Font.ColorIndex = 7 '³]©w¤å¦r
Selection.Font.FontStyle = "²ÊÅé"
Next
End If
Next z
End If
½d¨Ò~
1.·íM94ªº33¦b¦³Åã¥Ü¦bN7¥BM94¦bM7ªº¹ïÀ³È13¡A¦³¦AÅã¥Ü©óK19ªºÀx¦s®æ¡A«hM94,M7,K19¦U¼Ð¥Ü4¸¹©³¦â¡C
2.·íJ94ªº23¦b¦³Åã¥Ü¦bP15¥BJ94¦bJ15ªº¹ïÀ³È04¡A¦AÅã¥Ü©óP27ªºÀx¦s®æ¡A«hJ94,J15,P27¦U¼Ð¥Ü40¸¹©³¦â¡C
¨ä¾l......¦P²zÃþ±À¡C
¸Ô¦pªþ¥ó¡C
¥H¤W Àµ½Ð¦U¦ì¥ý¶i¡B«e½ú¤£§[½ç±Ð! ÁÂÁÂ! |
|
|
|
|
|
|