- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 11# mmggmm - Sub Ex()
- Dim Ay(1), Y As Integer, A As Range
- With Sheets("POSIT")
- Ay(0) = Application.Transpose(.Range("P2:P" & .Range("P" & Rows.Count).End(xlUp).Row))
- Ay(1) = Application.Transpose(.Range("Q2:Q" & .Range("O" & Rows.Count).End(xlUp).Row))
- End With
- For Each A In ActiveSheet.[H3:AL400]
- If A <> "" Then
- Y = Application.Match(A, Ay(0), 0)
- If IsError(Y) Then
- A.Value = "X"
- ElseIf Y > 0 Then
- If (Y <= 14 Or Y >= 24) And Cells(A.Row, "G") = Ay(1)(Y) Then A.Value = "X"
- End If
- End If
- Next
- End Sub
½Æ»s¥N½X |
|