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

³o­Ó°ÝÃDÀY¤j¤F..·Q¤F¦n¤[

¦^´_ 8# EGBT


     °ÊºA°}¦C Redim Student(x)³o¼Ë¼g®É¡A·í­«·s¤@¦¸ªºRedim®É·|§â­ì¨Ó¦b°}¦Cªº­È²MªÅ
©Ò¥H·íµM¨S­Èµ¹¥¦Åã¥Ü°Ú°j°é¤¤ªº­«·s©wºû¼Æ¤S¤£§Æ±æ²MªÅ­È¥²¶·¼g¦¨
ReDim Preserve Student(x)

TOP

¦^´_ 8# EGBT


    ¤@¯ë¨Ï¥Î°}¦C¤£À³¸ÓSheets("²Î­p").Cells(x, 1) = Student(x)³o¼Ë¤l¼g
³o¼Ë¼g¥u¬O®ö¶O¤F°}¦C°õ¦æ³t«×ªºÀuÂI
³Ì¦n¬O°j°é¶]§¹«á¦A¶K¨ìÀx¦s®æ
¦p¤U
  1. Sub TEST1()
  2. Dim Student()
  3. x = 0
  4. With Sheets("¾Ç¥Í­¶")
  5.     For Each y In .Range(.Cells(2, 1), .Cells(.Cells(Rows.Count, 1).End(xlUp).Row, 1))
  6.         ReDim Preserve Student(x)
  7.         Student(x) = y
  8.         x = x + 1
  9.     Next
  10. End With
  11. Sheets("²Î­p").Cells(1, 1).Resize(UBound(Student) + 1) = Application.Transpose(Student)
  12. End Sub
½Æ»s¥N½X

TOP

¦^´_ 10# ikboy


·PÁÂ

TOP

¦^´_ 1# EGBT

¸Õ¸Õ¬Ý³o­Ó¾A¤£¾A¦X
  1. Sub test1()
  2.     Dim student
  3.     Sheets("¾Ç¥Í­¶").Select
  4.     student = Range(Cells(2, 1), Cells(Cells(Rows.Count, 1).End(xlUp).Row, 1))
  5.     Sheets("²Î­p").Cells(2, 1).Resize(UBound(student)) = student
  6.    
  7. End Sub
½Æ»s¥N½X

TOP

¦^´_ 9# lpk187


    ¼Ó¤W¤j¤j§¹¥þ¤F¸Ñ§Ú...§¹¥þ¥¿¸Ñ~¤Ó·PÁ§A¤F^.^

TOP

        ÀR«ä¦Û¦b : °ß¨ä´L­«¦Û¤vªº¤H¡A¤~§ó«i©óÁY¤p¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD