n±NBÄæ¨ìEÄ檺¸ê®Æ¦s¤J°}¦C¡A¦]¬°¥u¦³¥|Äæ¡A©Ò¥H§Ú¥Î«e½ú±Ðªº¤è¦¡:
ar = Array("B", "C", "D","E")
For i = 2 To .Cells(.Rows.Count, 1).End(xlUp).Row
ReDim Preserve Ay(s) '±N¸ê®Æ¦s¤J°}¦C
Ay(s) = Array(.Cells(i, ar(0)).Value, .Cells(i, ar(1)).Value, .Cells(i, ar(2)).Value, .Cells(i, ar(3)).Value)
s = s + 1
³o¼Ë´N¥i¥H¦s¤J°}¦C¤F¡A¥i¬O¦pªG¦³20¦hÄ檺¸ê®Æn¦s¡A«ÜÅãµM³oºØ¤è¦¡·|«Ü²Ö¡A¤£ª¾¸Ó¦p¦ó°µ¤~¦n¡C
ÁÙ¦³·í¸ê®Æ³£²¾Â৹¤F¥H«á¡A¦³¤@¨Ç«D³sÄò©ÊÀx¦s®æªº¸ê®Æ·Qn§â¥¦§R°£¡A¦p:
With Sheet1
'.[C1].ClearContents
'.[D4].ClearContents
'.[G10].ClearContents
'.[N4:N6].ClearContents
'.[B11:AU12].ClearContents
End With
¦³¨S¦³¿ìªk¥Î°}¦Cªº¤è¦¡Â²¤Æ¤W±ªºµ{¦¡½X? |