- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 257
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-27
|
¥»©«³Ì«á¥Ñ Hsieh ©ó 2010-10-30 11:34 ½s¿è
¦^´_ 3# storylai
¥H§Aªººc«än±N¼ÆÓ¤Gºû°}¦C¦X¨Ö¦¨¤@Ó°}¦C
¨º»ò¦¹·sªº°}¦C¥i´N¦¨¤F¤Tºû°}¦C
¨º»ò§An¦A¼g¤J¤u§@ªí®ÉµLªk¤@¦¸¼g¤J
©Ò¥H«Øij§A±N¤£¦P°Ï°ìª½±µ¼g¦¨¤@Ó¤Gºû°}¦C
¦bŪ¨ú®É¤~·|²«K- Sub nn()
- Dim Ar(), Ay As Variant, Rng As Range, s%
- Set Rng = Union(Range("D5:N18"), Range("D35:N48"), Range("D65:N83"))
- For i = 1 To Rng.Areas.Count
- For j = 1 To Rng.Areas(i).Rows.Count
- ReDim Preserve Ar(s)
- Ar(s) = Rng.Areas(i).Rows(j)
- s = s + 1
- Next
- Next
- Ay = Application.Transpose(Application.Transpose(Ar))
- Sheet2.[A1].Resize(UBound(Ay, 1), UBound(Ay, 2)) = Ay
- End Sub
½Æ»s¥N½X |
|