¦p¦ó¸g¥ÑVBªº«ö¶s ¥Ñ¤@ÓEXCELÀɮ׸ê®Æ¶×¤J¦Ü¥t¤@EXCEL
- ©«¤l
- 40
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 62
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-12-27
- ³Ì«áµn¿ý
- 2014-11-18
|
¦p¦ó¸g¥ÑVBªº«ö¶s ¥Ñ¤@ÓEXCELÀɮ׸ê®Æ¶×¤J¦Ü¥t¤@EXCEL
·Q½Ð°Ý¤@¤U°ª¤âÌ
¤µ¤Ñ¦bEXCEL1.xls ·s¼W¤F¤@ÓCOMMAND
ÂIÀ»«á½T»{¤J®|«á( ¬°¥t¤@ÓxlsÀÉ :EX: EXCEL2.xls )
´N¯à±NEXCEL2.xls¸Ìªºªí®æ¸ê®Æ¶K¦ÜEXCEL1.xls
·Q½Ð°Ý¤@¤U VBªº¥¨¶°n«ç»ò¼g·|¤ñ¸û¦n
³Â·Ð¦U¦ì°ª¤â¸Ñµª¤F>"< |
|
WOW
|
|
|
|
|
- ©«¤l
- 76
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 95
- ÂI¦W
- 0
- §@·~¨t²Î
- windowsxp
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2016-8-19
- ³Ì«áµn¿ý
- 2021-5-5
|
³o¬O§Ú´ú¸Õªºcode¦ý¦³¿ù»~- Private Sub ´ú¸Õ()
- Dim Source As String, Ar()
- Source = application.run(Activeworkbook.Name&"!´ú¸Õ")
- With Workbooks.Open(Source)
- Ar = .Sheets(1).Range("A1:D65536").value
- .Close
- End With
- With ThisWorkbook.Sheets("´ú¸Õ").Range("A1").Resize(UBound(Ar), UBound(Ar, 2))
- .value = Ar
- .Name = "´ú¸Õ"
- End With
- MsgBox "´ú¸Õ¸ê®Æ¶×¤J¦¨¥\"
- End Sub
½Æ»s¥N½X ©Î¬O¥i§_¨Ï¥Î¦b¸ê®Æªí¤W³]©w¤@ÓÀx¦s®æªº¦WºÙ¬°test
µM«áÀ³¥Î³oÓ¦WºÙ ¥i¥H§âÀɮ׶פJ¶i¨Ó |
|
|
|
|
|
|
- ©«¤l
- 76
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 95
- ÂI¦W
- 0
- §@·~¨t²Î
- windowsxp
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2016-8-19
- ³Ì«áµn¿ý
- 2021-5-5
|
¦^´_ 13# white5168
ÁÂÁ§Aªº«Øij¡A¤w×¥¿¦^¨Ó
¦^´_ 11# GBKEE
¤S¦³ÓºÃ°Ý
Y¤£n¨Ï¥Îvb«ö¶s
ª½±µÀ³¥ÎÀɮצW¦r(¦b¦PÓ¸ê®Æ§¨¤U)
´N¥i¥H§â¸ê®Æ¶×¤J
³o¸Ó«ç»òקï©O?
ex:ÀɮצWºÙ¬°==>´ú¸Õ.xlsx |
|
|
|
|
|
|
- ©«¤l
- 90
- ¥DÃD
- 16
- ºëµØ
- 0
- ¿n¤À
- 114
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- sp2
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-7-9
- ³Ì«áµn¿ý
- 2018-10-7
|
¤£«Øij¨Ï¥ÎUsedRange¡A¦pªG¹J¨ì¦³ªÅ¤@¤j¬qªºÀx¦s®æ¡A¨º¸ê®Æ´NµLªk§¹¾ã¶×¥X |
|
|
|
|
|
|
- ©«¤l
- 76
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 95
- ÂI¦W
- 0
- §@·~¨t²Î
- windowsxp
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2016-8-19
- ³Ì«áµn¿ý
- 2021-5-5
|
¦^´_ 11# GBKEE
·PÁÂG¤jªº¤j¤O¬Û§U
§Ú¬Q¤Ñ¦³¸Õ¹L§A¤§«e¶Kªºµ{¦¡½X- Private Sub Data_Click()
- Dim Source As String, Ar()
- Source = Application.GetOpenFilename
- With Workbooks.Open(Source)
- Ar = .Sheets(1).Range("A1:BN65536").Value
- .Close
- End With
- With ThisWorkbook.Sheets("data").Range("A1").Resize(UBound(Ar), UBound(Ar, 2))
- .Value = Ar
- .Name = "data"
- End With
- End Sub
½Æ»s¥N½X ¤¤¶¡§Úª½±µÅª¨ú¤§«eÀÉ®×¥þ³¡Àx¦s®æ¤º®e
²{¦b§ï¦¨- Private Sub Data_Click()
- Dim Source As String, Ar()
- Source = Application.GetOpenFilename
- With Workbooks.Open(Source)
- Ar = .Sheets(1).UsedRange.Value
- .Close
- End With
- With ThisWorkbook.Sheets("data").Range("A1").Resize(UBound(Ar), UBound(Ar, 2))
- .Value = Ar
- .Name = "data"
- End With
- End Sub
½Æ»s¥N½X ±qRange("A1:BN65536")§ï¬°UsedRange
³oÓ¤èªk§Ö¦h¤F
¦³¦¨¥\°õ¦æ ¯uªº«Ü·PÁ§A!!!!! |
|
|
|
|
|
|
- ©«¤l
- 76
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 95
- ÂI¦W
- 0
- §@·~¨t²Î
- windowsxp
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2016-8-19
- ³Ì«áµn¿ý
- 2021-5-5
|
¦^´_ 7# GBKEE [/
褧«e¦b¤»¼Ó¦^¿ù¤F
À³¸Ó¬On¦^ÂФG¼Óªºµ{¦¡
§Úªí¹Fªº¨S¦³«Ü²M·¡©êºp
§Úªº·N«ä¬O(°ÝÃD):
¤w¦bEXCEL1.xls ·s¼W¤F¤@ÓCOMMAND
ÂIÀ»«á½T»{¤J®|«á( ¬°¥t¤@ÓxlsÀÉ :EX: EXCEL2.xls )
´N¯à±NEXCEL2.xls¸Ìªº¥þ³¡¸ê®Æ(¥u¦³¤@Ó¤u§@ªí¸ê®Æ½d³ò¨S¨î)¶K¦Ü¤u§@ªí¦WºÙ©T©w¬°'data'ªºEXCEL1.xls
------------------------------------------------
´ú¸Õ§¹¤G¼Óªºµ{¦¡«á
EXCEL2.xls¸Ìªº¥þ³¡¸ê®Æ¬O¥þ³¡¶K¦ÜEXCEL1.xls¤F
¦ý¬O³s¤u§@ªíªº¦WºÙ¤]¶K¹L¥h¤F
¦]EXCEL2.xls ªº¤u§@ªíªº¦WºÙ¬O·|ÀHµÛÀx¦s¤é´Á¦Ó§ïÅÜ
¦ÓEXCEL1.xls¸Ìªº¤u§@ªí¦³ÃB¥~°µ¥¨¶°
¤U¦C¬O¦³Ãö¦bEXCEL1.xls¸Ì¼g¨ìªºµ{¦¡½X- Sheets("¤u§@ªí1").Select
- Arr = Range([data!A2], [data!A65536].End(xlUp)(1, 65))
½Æ»s¥N½X ¦]¬°³o¼Ë¬G»Ýn«ü©w¤u§@ªíªº¦WºÙ
³o¼Ë¥¨¶°¤~¥i¨Ï¥Î |
|
|
|
|
|
|
- ©«¤l
- 76
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 95
- ÂI¦W
- 0
- §@·~¨t²Î
- windowsxp
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2016-8-19
- ³Ì«áµn¿ý
- 2021-5-5
|
¦^´_ 7# GBKEE - Sub XX()
- Dim Source As String, Ar()
- Source = Application.GetOpenFilename
- With Workbooks.Open(Source)
- Ar = .Sheets(1).Value
- .Close
- End With
- With ThisWorkbook.Sheets(1)
- .Value = Ar
- .Name = "Data"
- .Select
- End With
- End Sub
½Æ»s¥N½X ¦bAr = .Sheets(1).Value ¥X¤F°ÝÃD |
|
|
|
|
|
|
- ©«¤l
- 76
- ¥DÃD
- 17
- ºëµØ
- 0
- ¿n¤À
- 95
- ÂI¦W
- 0
- §@·~¨t²Î
- windowsxp
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2016-8-19
- ³Ì«áµn¿ý
- 2021-5-5
|
¦^´_ 7# GBKEE
·PÁ°ª¤âªºµªÂÐ~
Y¸ê®Æ¨S¦³©w½d³ò~¬O¾ãÓ¤u§@ªí½Æ»s©O
¨º³o¼Ë¸Ó«ç»ò§ï
ÁÂÁ±z~
(¥Ø«e¥¿¦b¾Ç²ßvba¤¤©Ò¥H¦³¦n¦h°ÝÃD@@ |
|
|
|
|
|
|