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

[µo°Ý] °j°é°ÝÃD

[µo°Ý] °j°é°ÝÃD

½Ð°Ý¥H¤Uªº°Ê§@­n¦p¦ó¼g¦¨°j°é?
§Ú¥Î¨â­Ófor ¼g¦ý¥X¨Óªºµ²ªG³£¤£¬O§Ú­nªº­È

Sheets("sheet3").Range("a2 : a6") = Sheets("sheet1").Cells(2, 1)
Sheets("sheet3").Range("a7 : a11") = Sheets("sheet1").Cells(3, 1)
Sheets("sheet3").Range("a12 : a16") = Sheets("sheet1").Cells(4, 1)

¦^´_ 1# °²­±¶W¤H
  1. Option Explicit
  2. Sub Ex()
  3.     Dim AR(), I As Integer
  4.     AR = Array("a2 : a6", "a7 : a11", "a12 : a16")
  5.     For I = 1 To UBound(AR) + 1
  6.         Sheets("sheet3").Range(AR(I - 1)) = Sheets("sheet1").Cells(I + 1, 1)
  7.     Next
  8. End Sub
½Æ»s¥N½X

TOP

¦^´_ 1# °²­±¶W¤H

For i = 2 To 4
Sheets("sheet3").Range("a2").Offset((i - 2) * 5).Resize(5, 1) = Sheets("sheet1").Cells(i, 1)
Next
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD