for -step- nextÂùÅܼƦ^°é«ç»ò¼g
- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
for -step- nextÂùÅܼƦ^°é«ç»ò¼g
¦pªþ¥ó
·Q§â¤u§@ªí1¸Ìªº¤º®eÅã¥Ü©ó¤u§@ªí2
¦p¦ó§Q¥Îfor-step-next¼g¥X¨Ó©O?
¥H¤U¬O¤p§Ì¼gªº
¦ý¥u¯à¦³1ÓÅܼƦ^°é
¥i¥HÀ°¤p§Ì«ü¥¿¶Ü?
for i=2 to 11 step 1
for j=4 to 22 step 2
worksheets("1").cells(i,2).value=worksheets("2").cells(j,4)
next j
next i
¥t½Ð°Ý
worksheets("1").cells(i,2).value=worksheets("2").cells(j,4)
»P
worksheets("1").cells(i,2)=worksheets("2").cells(j,4)
¦³¦ó¤£¦P?? |
|
|
|
|
|
|
- ©«¤l
- 133
- ¥DÃD
- 9
- ºëµØ
- 0
- ¿n¤À
- 147
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2024-11-11
|
·Q§â¤u§@ªí1¸Ìªº¤º®eÅã¥Ü©ó¤u§@ªí2
¦p¦ó§Q¥Îfor-step-next¼g¥X¨Ó©O?
¦ý¥u¯à¦³1ÓÅܼƦ^°é
oak0723-1 µoªí©ó 2010-8-30 14:25 - Sub test()
- For i = 2 To 11 Step 1 '«á±ªº Step 1 ¥i¬Ù²¤,§ï¬° For i = 2 To 11 §Y¥i
- Worksheets("2").Cells(i * 2, 4) = Worksheets("1").Cells(i, 2).Value
- Next i
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
a = Join(Application.Transpose([b2:b11]), " ")
Sheet2.[c4].Resize(19, 1) = Application.Transpose(Split(a)) |
|
|
|
|
|
|
- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
¦^´_ 3# oobird
·P®¦~~~~ÁÂÁ«ü¾É~~ |
|
|
|
|
|
|
- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
¥»©«³Ì«á¥Ñ oak0723-1 ©ó 2010-8-30 21:13 ½s¿è
¹ï¤£°_
¤p§Ì¸ê½è·M¬N
¤ñ¸û¬ÝªºÀ´jackdream ¤j¤j¼gªºµ{¦¡½X
oobird ¤j¤j¹ï¤£°_~~§A¼gªº¤p§Ì¬Ý¤£À´~~~
¦ý¬O¤p§ÌÁÙ¦³¤@Ӻü{
YµLªk¼g¦¨¦pjackdreamªºµ¥¦¡
¦pªþ¥ó¦Ó«D¥Î2ÓÅܼƤ£¥i®É
n¦p¦ó¼g |
|
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
i = 4
For Each c In Sheet1.[d10:d14]
Sheet2.Cells(i, 4) = c
i = i + 5
Next |
|
|
|
|
|
|
- ©«¤l
- 222
- ¥DÃD
- 56
- ºëµØ
- 0
- ¿n¤À
- 285
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-8-30
- ³Ì«áµn¿ý
- 2024-4-22
|
¦^´_ 6# oobird
·PÁÂoobir¤j¤j«ü¾É~~~~ |
|
|
|
|
|
|