¦p¦ó¸g¥ÑVBªº«ö¶s ¥Ñ¤@ÓEXCELÀɮ׸ê®Æ¶×¤J¦Ü¥t¤@EXCEL
- ©«¤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
- 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
|
¦^´_ 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
- 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¨Ó |
|
|
|
|
|
|