- ©«¤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
|
¦^´_ 1# PKKO
¸Õ¸Õ¬Ý- Option Explicit
- Sub TEST_2()
- Dim xRow As Integer, Arr(), Brr(), Ar()
- xRow = 10
- Arr = [A1].Resize(xRow).Value
- Brr = [C1].Resize(xRow).Value
- ReDim Ar(1 To UBound(Arr), 1 To UBound(Arr, 2)) '³]¸m¤@Ó»PArr¦P¼Ë¤j¤p°}¦C(ªÅªº)
- ReDim AA(1 To 10, 1 To 1)
- For i = 1 To UBound(Arr)
- For J = 1 To UBound(Brr)
- If Brr(J, 1) Like "*" & Arr(i, 1) & "*" Then
- 'Like ¹Bºâ¤l¥Î¨Ó¤ñ¸û¨âÓ¦r¦ê¦³¬Û¦Pªº¦r
- 'If Brr(J, 1) = Arr(i, 1) Then '¨âªÌ¬Û¦P
- Ar(i, 1) = Ar(i, 1) + 1
- End If
- Next
- Next
- [B1].Resize(xRow) = Ar
- End Sub
½Æ»s¥N½X |
|