ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¦p¦ó¸g¥ÑVBªº«ö¶s ¥Ñ¤@­ÓEXCELÀɮ׸ê®Æ¶×¤J¦Ü¥t¤@EXCEL

¦^´_ 4# register313

´ú¸Õ¹L³o­Óµ{¦¡½X«á¦³­Ó°ÝÃD·Q½Ð°Ý¤@¤U~

­Y±qexcel1½Æ»s¹L¨Óªº¤u§@ªí¡A¨ä¦WºÙ¤]·|¸òªÌ½Æ»s¨ìexcel2­C

¥i¥Hª½±µ½Æ»s¸Ì­±ªº¤º®e´N¦n¤F¹À~~

©Î¬O½Æ»s¹L¨Ó¦Û°Ê§ó¦W¬°'data'

¹Ï¨Ò:



¤U­±ªº¤u§@ªí¦WºÙ·Q­n©T©w¬°'data'
¦Ó¤£·|ÀHµÛ±qexcel1½Æ»s¹L¨Óªº¦WºÙ¦Ó§ïÅÜ

TOP

·PÁ±zªº¦^µª!!!!
WOW

TOP

¦^´_ 3# g93353
  1. Sub XX()

  2. Source = Application.GetOpenFilename
  3. With Workbooks.Open(Source)
  4.   .Sheets(1).Range("A1:C10").Copy ThisWorkbook.Sheets(1).Range("D2")
  5.   .Close
  6. End With

  7. End Sub
½Æ»s¥N½X

TOP

¥ýÁÂÁ°ª¤âªº¸Ñµª

¥i§_¦A½Ð°Ý¤@¤U  ­Y¬O¥u­­©w¬Y½d³òªºªí³æ ½Æ»s¨ì ¥t¤@½d³òªºªí³æ ­n¦p¦ó§@­×§ï
¤]¬O¥ÑEXCEL1  ¨ì EXCEL2
(EX :  A1-10 B1-10 C1-10  ­nCOPY¦ÜD2-11  E2-11 F2-11)
WOW

TOP

¦^´_ 1# g93353

¤u§@ªí¾ã±i½Æ»s
  1. Sub XX()

  2. Source = Application.GetOpenFilename
  3. With Workbooks.Open(Source)
  4.    For i = 1 To ActiveWorkbook.Sheets.Count
  5.     .Sheets(i).Copy after:=ThisWorkbook.Worksheets(Sheets.Count)
  6.    Next i
  7.   .Close
  8. End With

  9. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¬°¦Û¤v§äÂǤfªº¤H¥Ã»·¤£·|¶i¨B¡C
ªð¦^¦Cªí ¤W¤@¥DÃD