- ©«¤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
        
|
¦^´_ 4# luke - Option Explicit
- Sub Ex()
- Dim E As Range, xf As Range, xi As Integer
- With Sheet1
- .[A11:J65536].Clear
- For Each E In Sheet1.[a1:a5]
- Set xf = Sheet2.[A:A].Find(E, lookat:=xlPart, After:=Sheet2.[A65536])
- Set xf = xf.Resize(E.Cells(1, 4), 10)
- For xi = 1 To E.Cells(1, 2)
- With .Cells(Rows.Count, "A").End(xlUp).Offset(1)
- If .Row < 11 Then xf.Copy Sheet1.[a11] Else xf.Copy .Cells
- End With
- Next
- Next
- End With
- End Sub
½Æ»s¥N½X |
|