- ©«¤l
- 25
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 53
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2014-12-4
- ³Ì«áµn¿ý
- 2018-6-6
|
¦^´_ 3# GBKEE
¦^´_ 2# owen06
·PÁ owen06 GBKEE ªº¦^ÂÐ
·|¦³³o·Qªk¬O
§ÚªºEXCEL VBA ªí³æ ¤W
°Ê§@µ{§Ç
¦³¨âÓListBox
ListBox1 ¤º®e¬O sheet1~sheet9
·í¿ï¾Üsheet1®É
ListBox2¤º®e·|Åã¥Ü sheet1"A4"¤§«á Àx¦s®æ¦³¸ê®Æªº¤º®e
·í¿ï¾Üsheet2®É
ListBox2¤º®e·|Åã¥Ü sheet2"A4"¤§«á Àx¦s®æ¦³¸ê®Æªº¤º®e..µ¥µ¥
µM¦Ó ³o sheet1~9 "A4" ¤@¶}©l¬OµL¸ê®Æªº «áÄò·|¼W¥[- Range("A4").Select
- If ListBox1.Value = "sheet1" Then ListBox2.List = Workbooks("¬¡¶Ã¯1.xlsm").Sheets("sheet1").Range(Selection, Selection.End(xlDown)).Value
- If ListBox1.Value = "sheet2" Then ListBox2.List = Workbooks("¬¡¶Ã¯1.xlsm").Sheets("sheet2").Range(Selection, Selection.End(xlDown)).Value
½Æ»s¥N½X ¨º®ÉÔ´ú¸Õ«á ¦pªG´«¿ï¾Üsheet2®É ³oµ{§Ç´N¥X²{¿ù»~¤F~
«á¨Ó¤]´N·Q»¡¬Ý¥i¤£¥i¥H§âRange("A4")©ñ¤J Range(Selection, Selection.End(xlDown))¸Ì±- Range("A4").Select
- Range(Selection, Selection.End(xlDown)).Select
- Range(Selection, Selection.End(xlDown)).Select
- Range(Selection, Selection.End(xlUp)).Select
½Æ»s¥N½X ³o¬O¨º®ÉԥΥ¨¶°¿ý»sªº
¦ý¦pªG¹J¨ì¤@¶}©l"A4"¨S¸ê®Æªº®ÉÔ
³o°Ê§@¤]´N¤£¦¨¥ß¤F |
|