¦U¦ì«e½ú¦n, ½Ð°Ý¤@¤U, §Ú·Q³]p¤@ÓÂù°j°éªºmacro
- ©«¤l
- 8
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 16
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7, Mac
- ³nÅ骩¥»
- Office 07, 11
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2011-6-21
- ³Ì«áµn¿ý
- 2012-12-12
|
¦U¦ì«e½ú¦n, ½Ð°Ý¤@¤U, §Ú·Q³]p¤@ÓÂù°j°éªºmacro
¦U¦ì«e½ú¦n,
¤p§Ì¹ï©óexcel ¬O·s¤â, ½Ð¦h¥]²[«ü±Ð.
§Ú·Qn³]p¤@Óexcel®æ¦¡¦p¹Ï,
¥\¯à¬O ·í¤Ä¿ï¥ª¤èªº²M³æ®É,
¦b¥kÃ䪺¶Â¦â®Ø®Ø½d³ò¤º, ·|¥ý«ö¦æ ¦A«ö¦C
´M§äªÅ¥Õ³B, ¶ñ¤J¤Ä¿ï¶µ¥Øªº¤å¦r.
½Ð°Ý³oºØ³]p¬On¥Î Do while ÁÙ¬O¥Î For°j°é©O?
¦³¨S¦³«e½ú¥i¥H´£¨Ñ½d¨Ò°Ñ¦Ò©O?
·P®¦³á~~
WesleyTsao |
|
|
|
|
|
|
- ©«¤l
- 8
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 16
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7, Mac
- ³nÅ骩¥»
- Office 07, 11
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2011-6-21
- ³Ì«áµn¿ý
- 2012-12-12
|
·PÁÂ oobird¤j,
¤w¸g·f°t¤@ӤĿ露¥ó, ¥i¥H°µ
¤Ä¿ï- ªÅ¥Õcell¦Û°Ê¥[¤J¤å¦r ©M
¨ú®ø¤Ä¿ï- ¤w¿é¤J¦r¦ê²M°£ªº°Ê§@~
±µ¤U¨Ó¦A¸Õ¸Õ¦hÓCheckBox, ¬Ý¬Ý·|¤£·|¦³Bug..
·P®¦·P®¦~~
WesleyTsao |
|
|
|
|
|
|
- ©«¤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
|
¨Ò¦p¡G
Sub do_while_test()
For c = 1 To 5
For r = 3 To 4
If Cells(r, c) = "" Then Cells(r, c) = "AAA": Exit Sub
Next
Next
End Sub |
|
|
|
|
|
|
- ©«¤l
- 8
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 16
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7, Mac
- ³nÅ骩¥»
- Office 07, 11
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2011-6-21
- ³Ì«áµn¿ý
- 2012-12-12
|
oobird¤j§A¦n,
§Ú©ñ¤@Ó¤§«e¼gªº¨ä¤¤¤@Ó¤¸¥óªºmacro, ·í®É¬O¥ÎDo while¤è¦¡.., ½Ð±zªÈ¥¿¤@¤U,
¦]¬°¶]°_¨Ó©Ç©Çªº, §Ú´N¤£ª¾¹D«ç»ò¼g¤U¥h¤F..
¦]¬°¥¦·|§â¤@¾ã¦æµ¹¶ñ§¹, ¦Ó§Ú¥un¶ñ§ä¨ìªº²Ä¤@ӪťÕÄæ¦ì..
Sub do_while_test()
Dim i, j As Integer
i = 1
j = 0
For j = 0 To 2
j = j + 1
Do While i <= 10 And Cells(i, j) = ""
Cells(i, j) = "AAA"
i = i + 1
Loop
Next
End Sub
·PÁ·PÁÂ~~
WesleyTsao |
|
|
|
|
|
|
- ©«¤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
|
ÁÙ¬O¥Î For°j°é¤è«K¡I§A¥i¥H¤W¶Ç§Aªºªþ¥ó¡AvbaµLªk¦b¹Ï¤W¾Þ§@¡C |
|
|
|
|
|
|