ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ÀH¾÷§ïÅܰ}¦C¤j¤p

¥»©«³Ì«á¥Ñ kimbal ©ó 2013-6-11 13:47 ½s¿è

¦^´_ 1# xandertco

°ÊºA°}¦C
  1. Sub test()
  2. Dim a As long
  3. a = Cells(Range("A65536").End(xlUp).Row, 1).Row - 1

  4. Dim myarray()
  5. ReDim myarray(a, 1)
  6. For i = 0 To a
  7.     For j = 0 To 1
  8.       myarray(i, j) = Cells(i + 1, j + 1)
  9.     Next j
  10. Next i
  11. End Sub
½Æ»s¥N½X
¥t¥~¸ò¥D°ÝÃDµLÃöªº´£¥Ü:¤W­±integer À³Âনlong, ¦pªG¦æ¼Æ¦h©ó3¸U¦hªº¸Ü,integer·|¥X°ÝÃDªº.
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

        ÀR«ä¦Û¦b : ºw¤ô¦¨ªe¡C²É¦Ì¦¨ÅÚ¡A¤Å»´¤vÆF¡A¤Å¥Hµ½¤p¦Ó¤£¬°¡C
ªð¦^¦Cªí ¤W¤@¥DÃD