¼ÐÃD:
¦p¦ó±N¤U±ªºµ{¦¡½X§ï¦¨¥u¶×¦b¦P¤@Ó¸ê®Æªí
[¥´¦L¥»¶]
§@ªÌ:
qwern
®É¶¡:
2012-7-8 03:16
¼ÐÃD:
¦p¦ó±N¤U±ªºµ{¦¡½X§ï¦¨¥u¶×¦b¦P¤@Ó¸ê®Æªí
¥»©«³Ì«á¥Ñ qwern ©ó 2012-7-8 10:01 ½s¿è
¥Dnn°µªº¤º®e¬O¡A¬ù¦³2000¦hªº¬Û¦P®æ¦¡ªºexcelÀɮסAn¶×¤J¦P¤@Óexcel¸Ì±¡A
¦ý¬O¤S¤£·Qn¥L¨C¦¸¶×¤J®É³£¤À§O¶×¤J¦¨¤@Ó·sªº¸ê®Æªí¡A
·Qn¥L«¤W¤@Ó¶KÂIªº³Ì¤U±Ä~Äò±N¤U±N¤@Ó¸ê®Æ©¹¤U¶K¤U¥h¡C
¤§«e¦³¦³¬Ý¹L¥t¥~¤@Ó¬O¶K¶i¨Ó¬° ¤£¦P¤À¶ªº¡A¦ý¬O§Ú«ç»ò§ï¥L³£µLªk¥u³æ¯Â¦b¤@Ó¤À¶¸Ì±¡A©Ò¥H·Qn½Ð°Ý³oÓ°ÝÃD¡C
¥H¤Uªþ¥ó¬°¦X¨Ö¥¨¶°¸òn¶×¤Jªº¸ê®Æ ¦ý¤£ª¾¹D«ç»ò§â¨ºÓ¦X¨Öªº¥¨¶°§ï¦¨¥u¶×¤J¦¨¤@Ó¤u§@ªí¡A¶×¤J«á¡A¥LÁÙ¬O·|¬Ý¦³´XÓÀÉ®×´N¤À¦¨´XÓ¤u§@ªí
¦Ó¥BÁÙ¦³¤@Ó¤pºÃ°Ý¨CÓÀɮפº¸ê®Æªº¤ñ¼Æ¤£¦P¡A¥L·|¤£·|¤Ö§ì¨ì¤§Ãþªº?
javascript:;
§@ªÌ:
chen_cook
®É¶¡:
2012-7-8 04:54
¦^´_
1#
qwern
³oùجO¤@¯ë°Ï,¬°¤°¦ó¤j®a³£¤£¨Ìª©¤jªº³W©w©O??:@
§@ªÌ:
qwern
®É¶¡:
2012-7-8 10:01
¦^´_
2#
chen_cook
©êºp...¤wקï¡A³o¼ËÀ³¸Ó¥i¥H¤F
§@ªÌ:
qwern
®É¶¡:
2012-7-9 00:02
¤W±ªºÀɮ׬O¦X¨Ö«á·|¤À¦¨«Ü¦hÓ¤À¶¡A§Ú§Æ±æ¥L¥i¥H¤£n¤À¶}
§@ªÌ:
hugh0620
®É¶¡:
2012-7-9 17:30
¥»©«³Ì«á¥Ñ hugh0620 ©ó 2012-7-9 17:31 ½s¿è
¦^´_
4#
qwern
¸Õ¸Õ¤U±ªº¼gªk~ ¨Ì§A¤W¸üªº¸ê®ÆÁÙ¼¶¼g~ ±N¸ê®Æ§¨¤¤ªºEXCELÀɶצb¦P¤@Ósheet¤¤~
A3="ÀɮצWºÙ"
B3=Äæ¦ìA
A3&B3¬On¦³Äæ¦ì¦WºÙò
Application.Calculation = xlCalculationManual
Dim Ar()
With Application.FileDialog(msoFileDialogFolderPicker)
If .Show = 0 Then Exit Sub ' Y¬O¨S¦³¿ï¨ú¸ê®Æ§¨¸ô®|¡A´N¸õ¥Xµ{§Ç
Sheet1.Rows("4:1048576").ClearContents
fd = .SelectedItems(1)
If .ButtonName = "½T©w" Then
fs = Dir(fd & "\*.xls")
Do Until fs = ""
fds = fd & "\" & fs
With Workbooks.Open(fds)
A = .Sheets(1).Range("A65536").End(xlUp).Row
BN = .Sheets(1).Name
.Sheets(1).Range("A1:CW" & A).Copy Sheet1.Range("B1048576").End(xlUp).Offset(1, 0)
.Close 0
End With
C1 = Sheet1.Range("A1048576").End(xlUp).Offset(1, 0).Row
C2 = Sheet1.Range("B1048576").End(xlUp).Row
Sheet1.Range("A" & C1 & ":A" & C2) = BN
fs = Dir
Loop
End If
End With
Application.Calculation = xlCalculationAutomatic
½Æ»s¥N½X
§@ªÌ:
Hsieh
®É¶¡:
2012-7-9 17:43
¦^´_
4#
qwern
Àɮ׳£©ñ¦b¦P¤@Ó¸ê®Æ§¨¤º
Sub ex()
fs = Dir(ThisWorkbook.Path & "\*.xls*")
Do Until fs = ""
If fs <> ThisWorkbook.Name Then
With Workbooks.Open(ThisWorkbook.Path & "\" & fs)
.Sheets(1).UsedRange.Copy ThisWorkbook.Sheets(1).Cells(Rows.Count, 1).End(xlUp).Offset(1)
.Close 0
End With
End If
fs = Dir
Loop
End Sub
½Æ»s¥N½X
§@ªÌ:
qwern
®É¶¡:
2012-7-10 00:16
Hsieh ¶W¯Åª©¥D ·PÁ¡A¦n¹³¦¨¥\¤F
VBA¦V«e½Ä ·PÁ ³o¤èªk§ÚÁÙ¦b´ú¸Õ¤¤
§@ªÌ:
hugh0620
®É¶¡:
2012-7-10 09:23
¦^´_
7#
qwern
Hsieh ¤j¤jªº¼gªk¬Oª½±µ±N¸ê®Æ§¨¤¤©Ò¦³ªºexcel¸ê®Æ¶×¦b¤@°_~
§Úªº¼gªk¤]¬O¤§«e¦U¤j¤j±Ðªº~ ©Ò¥H¬Ý°_¨Ó¤£·|®t²§¤Ó¤j~
¦b¶×¾ã¸ê®Æ®É~ ¬OÀ°§A¦Ò¶q¨ì~ ±N¨C¤@ÓÀɮ׶פJ®É~ ²K¥[¤WÓÀɮתº¦WºÙ~
³o¼Ë·|¤è«K¨Ï¥ÎªÌ¦b¸ê®Æ¦³ºÃ°Ý®É~ ¯à°÷¤ñ¸û§Ö³t§äÓ¬Oþ¤@ÓÀɮתº¸ê®Æ~ þÃäµo¥Í°ÝÃD
·íµM~ ³o¤]¬On¬Ý§A¦Û¤vªº»Ý¨D~ ¬O¤£¬O¦³»Ýn~
§Q¥Î Hsieh ¤j¤jªº¼Ò¦¡¥i©µ¦ù¦Û¤v»Ýnªºµ²ªG~
§@ªÌ:
qwern
®É¶¡:
2012-7-15 02:16
®¦®¦ §Úµo²{Hsieh¤j¤jªº¤èªk¦b¶ñ¤J²Ä517ÓexcelÀɮɷ|¦³°ÝÃD¡A¥L»¡½Æ»s®æ¦¡¤£¦P¬O§_n¶K¤W
Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)