- ©«¤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
|
¦^´_ 12# gn00487767
¸Õ¸Õ¬Ý- Option Explicit
- Sub Ex()
- Dim i As Integer, Ar(), m As Variant
- With Sheets("¦Û°ÊÅã¥Ü")
- ReDim Ar(2 To .Range("A1").End(xlDown).Row, 1 To 3) '«ü©w¤Gºû°}¦C¤¸¯Àªº¤U¯Á¤ÞÈ,¤W¯Á¤ÞÈ
- For i = 2 To .Range("A1").End(xlDown).Row
- m = Application.Match(.Range("A" & i), Sheets("¸ê®Æªí").Range("A:A"), 0)
- 'À³¥Î¤u§@ªí¨ç¼Æ·j´M½s¸¹
- If IsNumeric(m) Then
- With Sheets("¸ê®Æªí").Range("A" & m)
- Ar(i, 1) = .Range("B1") '¦WºÙÄæ
- Ar(i, 2) = .Range("C1") '¤é´ÁÄæ
- Ar(i, 3) = .Range("D1") '©m¦WÄæ
- End With
- End If
- Next
- .[B2].Resize(UBound(Ar) - 1, UBound(Ar, 2)) = Ar
- End With
- End Sub
½Æ»s¥N½X |
|