- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 14
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-6
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2015-6-7 09:28 ½s¿è
¦^´_ luhpro
...
¥t·Q½Ð°Ý¤@¶}©lµ¹§Úªº
sPath = ThisWorkbook.Path
ChDrive sPath
ChDir sPath
§@¥Î¬O? ¦]¥ÎºÊ¬Ý¦¡¬Ý¤£À´,¹Á¸Õ§â¥L®³±¼ÁÙ¬O¥¿±`¹B§@
...
starry1314 µoªí©ó 2015-6-6 01:25
³o¬O¹ï§A 1# ©Ò´£ :
n«ç»ò³]©w¦¨«ü©w¸ô®|µM«áÀɦW,¥i¥HŪ¨úÀx¦s®æªºÀɦW°µÅܼƩO?
²q´ú§A¬On¥ý³]©w¦n¥Ø«e¤u§@¥Ø¿ý,
§â©Ò¦³·|¥Î¨ìªºÀɮ׳£©ñ¦b¸Ó¥Ø¿ý¤U,
´N¤£¥Î¦b¶}±ÒÀÉ®×®ÉÁÙn¥t¥~«ü©wÀɮשҦbªº¥Ø¿ý,
¥unµ¹ÀɦW´N¥i¥H¨Ï¥Î¸ÓÀɮפF.
¥t¥~,³o¤@¦æÀ³¸Ó¬O¤£¹ïªº°Ú:
Set wsTarget = Workbooks("«È¤á©ú²Ó-«ÈªA±M¥Î.xlsm").Sheets(.cells("¤@¤ë")
Cells() ªº¬A©·¤¤¶¡¥u¯à¬O ¦C¸¹,¦æ¸¹ ¦Ó¤£¯à¬O¦r¦ê,
¥B§A¸Ó¦æªº¬A¸¹¤]¨S¦³¦¨¹ï.
Paste ¨ç¼Æ°õ¦æ®ÉÀ³¸Ó¥i¥H¤£¥Î¥ý§â¼Ðªº¤u§@ïActivate,
¤]¤£¥Î§â¼Ðªº¤u§@ªí¤Î¼ÐªºÀx¦s®æ Select,
ª½±µ¥H With wsTarget »P End With¥]¦í,
¦A©ó¨ä¤¤¥Î . ¥N´«§Y¥i.
©Î¬O¥Î wsTarget.cells... ¥ç¥i.
¦]¬°¤£¯à½T»{§A»yªk¦³¿ù»~ªº³o¤@¦æ :
Set wsTarget = Workbooks("«È¤á©ú²Ó-«ÈªA±M¥Î.xlsm").Sheets(.cells("¤@¤ë")
¼Ðªº¬O§_¬°¥iÅܰʪº,
©Ò¥H¼È®É¤£¯à¹ï¨º¨Ç«ü¥O°µÀu¤Æ.
¦^´_ luhpro
¦^´_ luhpro
½Ð°ÝÃö©ó³o¬O¥Î«ö¶s°µ,¨º¦pªG¬O¨Ï¥Î¹Ï®×©O?
µLªk¨ú±o.ButtonsÄÝ ...
starry1314 µoªí©ó 2015-6-6 17:38
°w¹ï¹Ï®×?
³oÓ§Ú¤]¤£·|³á,©êºp. |
|