- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
¦^´_ 11# oobird
°}¦C1>
a = Sheets("1").[c10].CurrentRegion
r = 1
For i = 1 To UBound(a)
ReDim Preserve arr(1 To 3, 1 To r)
arr(1, r) = a(i, 1): arr(2, r) = a(i, 2): arr(3, r) = a(i, 3)
r = r + 6
Next
°}¦C2>
With Sheets("1")
rng = .Range(.[c10], .[m83].End(3))
End With
ReDim arr(1 To UBound(rng), 1 To 10)
For i = 1 To UBound(rng)
If rng(i, 11) - rng(i, 10) <> 0 Then
k = k + 1
For j = 1 To 6
arr(k, j) = rng(i, j)
Next
¤p§Ì¤ñ¸û¤F³o2Ó°}¦C
µo²{¦b°}¦C2ªºrngÅܼƪº©w¸q
rng = .Range(.[c10], .[m83].End(3))
µ¥©ó³]©w¤Frngªº°_©l»P²×¤î½d³ò
¦Ó¦b°}¦C1ªºrÅܼÆ
¬O¨ü¨î©óÅܼÆa¦Ó²×¤î
ÅܼÆaªº©w¸q¬°
a = Sheets("1").[c10].CurrentRegion
³oµ¥©ó¨S¦³³]©wÅܼÆaªº²×¤î½d³ò
©Ò¥H¤j¤j§A¤~±N°}¦C1ºÙ¤§¬°ÅÜ°Ê°}¦C
°}¦C2ºÙ¤§¬°©T©w°}¦C
¦Ó«D³æ¯Â¥Hdim©Îredim§@§P§O°ò·Ç°Ï¤À©T©w©ÎÅÜ°Ê°}¦C?
¤p§Ì³o¼Ë²z¸Ñ¥¿½T¶Ü? |
|