- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 248
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-16
|
¦^´_ 1# s7659109 - Sub ex()
- Dim Ar(), A As Range, s&, k&
- With Sheets("data")
- k = .[A4].End(xlToRight).Column
- For Each A In .Range(.[A5], .[A5].End(xlDown))
- mystr = Join(Application.Transpose(Application.Transpose(A.Resize(, k))), Chr(10))
- If InStr(mystr, Sheets("search").[C1]) > 0 Then
- ReDim Preserve Ar(s)
- Ar(s) = Split(mystr, Chr(10))
- s = s + 1
- End If
- Next
- If s > 0 Then Sheets("search").[A3].Resize(s, k) = Application.Transpose(Application.Transpose(Ar))
- End With
- End Sub
½Æ»s¥N½X |
|