- ©«¤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-5-12 21:55 ½s¿è
§Ú¤j·§ª¾¹D§Aªº·N«ä¤F,§A¬O§Æ±æ¨C¦¸«ö¤U Botton ®É³£¯à§â¥Ø«e¦bSheet1 ªº¸ê®Æ "·s¼W" ¨ì Sheet3 ²{¦³ªº¸ê®Æ¤U¤è,¦Ó§â¾ú¦¸©Ò¼W¥[ªº¸ê®Æ¦X°_¨Ó·í¦¨¤@Ó¸ê®Æ®w¨Ó¥Î.
°ò¥»¤W Copy ¸ê®Æªº¤è¦¡´N°Ñ·Ó¤W¤è§Y¥i, ¦Ü©ó§PÂ_ Sheet3 ¥Ø«e³Ì«á¤@µ§¸ê®Æ¬O±qþ¸Ì¶}©l,«h¥i¥H§Q¥Î Sheet3.Range("B65536").End(xlUp).Row ªº¤è¦¡¨ú±o.
ÃöÁ䳡¥÷µ{¦¡¦p¤U,´N¬Ý§A«ç»ò®M¥ÎÅo :
¦]¬°§Aªº¸ê®Æ®w·Q±q Sheet3 ªº b6 Àx¦s®æ¶}©l©ñ¸ê®Æ, ¬°Â²¤Æµ{¦¡ªº§PÂ_, «Øij¥i¥H¦Ò¼{¨Æ¥ý¦b Sheet3 ªº b5 Àx¦s®æÀH«K©ñÓ¸ê®Æ,«h:
«ö¤U«ö¶s«á -
1. ¨ú±o Sheet3 ªº¸ê®Æ¥½¦æ¦ì¸m :
iRows = Sheet3.Range("B65536").End(xlUp).Row
2. ±q Sheet1 Copy ¸ê®Æ¨ì Sheet3
Sheet1.Range("b6:h25").Copy Sheet3.Cells(iRows + 1, 2)
3. ²M°£ì©l¸ê®Æ°Ïµ¥«Ý¨Ï¥ÎªÌ¿é¤J·s¸ê®Æ (¦]¬°¨C¦¸¸ê®Æ¶q¤£©T©w ¬G«ØijÀ³±N¤W¦¸ªº¸ê®Æ²M°£°®²b¦AÄ~Äò·s¼W¸ê®Æ)
Sheet1.Range("b6:h25").Clear
¦p¦¹À³¸Ó´N¬O§A·Qnªº¥\¯à. |
|