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

[µo°Ý] indirect, row¦V¤UÂШî

[µo°Ý] indirect, row¦V¤UÂШî

EXCEL QUEST.rar (8.4 KB)
½Ð°Ý¦p¦ó¥ÎINDEX, I,NDIRECT,ROW()±N¦P¤@¸ê®Æ¦V¤UÂШî30¦¸, ¦¸«á¦A¨ú¥t¤@­Ó¸ê®Æ¦A¦V¤UÂШî30¦¸, ¦p¦¹Ãþ±À?

:)

¥»©«³Ì«á¥Ñ p212 ©ó 2015-7-24 09:24 ½s¿è

¦^´_ 1# missbb
¼Æ¾Ú¦p1#¤§½d¨Ò°t¸m¡A¦ÛA橺¨ú­È¨Ì§Ç¤À§O½Æ»s30¦¸
Àx¦s®æC3¿é¤J
=INDEX($A:$A,CEILING((ROW()-2)/30,1)+2)
¦V¤U½Æ»s¤½¦¡
½Ð°Ñ¦Ò¡I
ª`¡G1#¤§½d¨ÒÀɽƻsµ²ªG­Ó¼Æ¬°¡u31¡v¡A­Y±ý¨Ì§Ç¤À§O½Æ»s31­Ó¡A«hÀx¦s®æC3¿é¤J
=INDEX($A:$A,CEILING((ROW()-2)/31,1)+2)

TOP

¦^´_ 2# p212

¦hÁ¸ѵª.

TOP

·PÁÂ, §Ú±N©Ò¾ÇÂà¥Î¦Ü¤U¦C¥X¶Ôªí, ½Ð°Ý¥i§_¥ÎVBA¨Ó§ï¼g©O, ¦]¬°¯A¤Î¤£¤î¤@­Ó¤u§@ªí, ©Ò¥H¨ç¼Æ¤w¤£¯àÀ³¥Î.


¨D±Ð:D ¸ê®ÆÂà¸m2.rar (25.39 KB)

TOP

¬Ý¤£¨ìªþ¥ó¶È¨Ñ°Ñ¦Ò
±NAÄæ¸ê®Æ¨C­ÓÀx¦s®æ½Æ»s30¦¸¨ìBÄæ
  1. Sub test()
  2.     k = 1
  3.     For i = 1 To [A65536].End(xlUp).Row
  4.         Cells(k, 2).Resize(30, 1) = Cells(i, 1)
  5.         k = k + 30
  6.     Next
  7. End Sub
½Æ»s¥N½X

TOP

«Ü¦hSheets³£­n°µ¦P¼Ë½Æ»s
  1. Sub test()
  2. For j = 1 To Sheets.Count
  3.     Sheets(j).Select
  4.     k = 1
  5.     For i = 1 To [A65536].End(xlUp).Row
  6.         Cells(k, 2).Resize(30, 1) = Cells(i, 1)
  7.         k = k + 30
  8.     Next
  9. Next
  10. End Sub
½Æ»s¥N½X

TOP

¦^´_ 6# koo

§Ú¦bÀɮפº¥[¶}¤FSHEET 1, ¤º¥[¼Ò²Õ½Æ»s§AªºVBA½X, ¦ý§â¥»¨­¥t¥~SHEETªº¸ê®Æ³£¨S¦³¤F. §ÚÀ³¸Ó¦b¨º¤@±iSHEET¤º¥[¼Ò²Õ½Æ»s§AªºVBA½X?

¦³³Ò!

TOP

¦^´_ 2# p212


¦hÁ¸ѨM°ÝÃD!

TOP

        ÀR«ä¦Û¦b : ¡i¬°µ½Ävª§¡j¤H¥Í­n¬°µ½Ävª§¡A¤À¬í¥²ª§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD