- ©«¤l
- 27
- ¥DÃD
- 11
- ºëµØ
- 0
- ¿n¤À
- 38
- ÂI¦W
- 0
- §@·~¨t²Î
- window
- ³nÅ骩¥»
- window7
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2019-12-12
- ³Ì«áµn¿ý
- 2021-4-21
|
¦U¦ì¤j¤j
¦³¤H¥iÀ°¦£¦^´_¶Ü
´N¬O»¡
1.§Ú§Q¥Î¥H¤Uªºµ{¦¡½X(¥[¤JÀÉ®×)
µ²ªG¬Ook!¥¦¥i±N¿ï¨úªºÀɮ׸ô®|ÃK¦bexcel ¤W
2.²Ä¤G¬q(°õ¦æ)
µ²ªG¬O¤w¿ï¨úªºÀɮ׶}±Ò«á,·|¦Û°Ê©¹¤U¶K¦b¦P¤@sheet¤¤
3.§Ú§Æ±æ¦b¶}±ÒÀɮ׸ô®|«á,¦b°õ¦æ®É¥i±NÀɮשñ¦b¤£¦Psheets
¨D¸Ñ¦U¦ì¤j¤j
²Ä¤@¬qµ{¦¡¬qOK¦ý.......
Sub ¥[¤JÀÉ®×()
fds = Application.GetOpenFilename("Excel Files (*.xls;*.xlsx), *.xls;*.xlsx", , , , True)
If IsArray(fds) Then
For i = 1 To UBound(fds)
[A1].Offset(i - 1) = fds(i)
Next
End If
End Sub
½Ð°Ý¦b°õ¦æ®É¦pªGn¿ï¾Ü©Êªº±NÀɮ׶K¨ì«ü©wªºsheet¤W(¤£¦Psheet)
¥H¤U°õ¦æµ{¦¡n«ç»ò§ï¼g
(쥻¥H¤Uµ{¦¡ ¥u¬O±N¶}±Òªº¸ê®Æ¶K¦b¦Psheet¤W,
Sub °õ¦æ()
For Each a In Range([A1], Cells(Rows.Count, 1).End(xlUp))
With Workbooks.Open(a)
.Sheets(1).[A1:Z20000].Copy ThisWorkbook.Sheets("Result").Cells(Rows.Count, 1).End(xlUp)
.Close 0
End With
Next
End Sub
ÁÂÁÂ |
|