- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2010-12-22 22:22 ½s¿è
§AªºÀɮ׸̻¡ :
AB6§@¬°¶ñº¡ªº¶}©l¦C,´N¬O(A5)ªº¦ì¸m
AB7§@¬°¶ñº¡ªº¶¡¹j¦C¼Æ
±qA3¶}©l©¹¤U¶ñº¡,½Ð°Ýµ{¦¡¬°¦ó?
¤W±ªº±Ôz¦bÅÞ¿è¤W¦³¨Ç©Ç©Çªº,
¥H A5 §@¬°¶ñº¡ªº¶}©l¦C,
¶ñº¡ªº¶¡¹j¦C¼Æ¬O 10
¦A¬Ý§A¯S¦a±N A5¡BA15¡BA25 ®Ø°_¨Ó,
§Ú²q§Aªº·N«ä¬O»¡¶ñº¡ªº¹ï¶H¬O§A®Ø°_¨Óªº¨º¨ÇÀx¦s®æA5¡BA15¡BA25¡B....
¦ý§A©³¤U¤S¸É¥R»¡n¥H A3 ¬°¶ñº¡¶}©lªºÀx¦s®æ,
3 + 10 = 13
«ç»ò¼Ë¤]¤£·|¹ïÀ³¨ì A15 ©O.
¨º»ò¨ì©³§A¬On¹ï A3¡BA13¡BA23¡B... ÁÙ¬O A5¡BA15¡BA25¡B... °µ¶ñº¡©O?
¥t¥~Y¬O§A·Q¥Î AutoFill ¨ç¼Æªº¸Ü, ¸Ó¨ç¼Æªº»¡©ú¸Ì¦³´£¨ì :
Destination ¥²¿ïªº Range ª«¥óÃþ«¬¡Cn¶ñº¡ªºÀx¦s®æ¡C¥Ø¼Ð½d³ò¥²¶·¥]¬A¨Ó·½½d³ò¡C
¦Ó¦b Range ¸Ì¤S¦³©w¸q :
¥Nªí¬Y¤@Àx¦s®æ¡B¬Y¤@Äæ¡B¬Y¤@¦C¡B¬Y¤@«ü©w½d³ò (¸Ó«ü©w½d³ò¥i¥]§t¤@Ó©ÎY¤z³sÄòÀx¦s®æ½d³ò) ©ÎªÌ¬Y¤@¥ßÅé½d³ò¡C
©Ò¥H AutoFill ªº¶ñº¡°Ê§@¬O¤£¯à¸õ¦æ©Î¬O¸õ¦C¶ñº¡ªº. (¬G¦Ó§A¤W±»¡ªº "¶ñº¡ªº¶¡¹j¦C¼Æ¬O 10" ªº±¡§Î¨Ã¤£¾A¥Î)
¤ñ¸û«ê·í¥i¦æªº¤è¦¡¬O¥Î
For ... Step 10
.
.
.
Next
©Î¬O¥Î
While iI < xxx
.
.
.
iI = iI + 10
Wend
ªº¤è¦¡¨Ó¹ê°µ.
¦Ü©ó·Q¥Îµ{¦¡¨Ó¹F¨ì¨ú±o¤Wz°Ñ·ÓȪºÀx¦s®æ¤º®e¤è¦¡Ë¬O¤£§xÃø
·Q³z¹L AB6 §ä¨ì A5 ¥i¥Î¦p¤U¤èªk :
Sub AFill()
Dim iSRow%, iRow%, iTarget%
With Sheets("Sheet1")
iSRow = .[AB6]
iRow = .Range(.[A3], .Cells(.[A3].End(xlDown), 1)).Find(iSRow, LookIn:=xlValues).Row
iTarget = .Cells(iRow, 1) '³oÓ´N¬O A5 ªº¦ì¸m, ¥unÅܧó«á±ªº 1 ¹ïÀ³¨ì·Q Fill ªºÄæ¦ì¼Æ§Y¥i,¨Ò¦p : M5 ´N¬O .Cells(iRow, 13)
End With
End Sub
¨ú±o iRow «á,
¥un©ó°j°é¤º¨Ì¦¸¼W¥[¦¹È§Y¥i "¸õ¦C" ¹ïÀ³¨ì»Ýn¶ñº¡ªºÀx¦s®æ. |
|