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

[µo°Ý] «ü©wEXCEL~ ±N¸ê®Æ¶×¥X

[µo°Ý] «ü©wEXCEL~ ±N¸ê®Æ¶×¥X

Dear ¤j¤j­Ì

§Ú¦b¤w¶}ªºÀɮפ¤~ ­n±N¸ê®Æ¶×¨ì«ü©wªºÀɮפ¤~ (¥H«e¨S¼g¹L³o¼Ëªº¤è¦¡)

¤U­±¬O§Ú¼gªºµ{¦¡½X~ ¦ý¬O­n¶K¨ì«ü©wªºÀɮפ¤®É~ ½Tµo¥Í¿ù»~~ ½Ð¤j¤j«ü¾É¤@¤U~
  1. Private Sub CommandButton1_Click()

  2. patch = Application.GetOpenFilename("Microsoft Excel ¬¡­¶Ã¯ (*.xls), *.xls")
  3. If patch = False Then
  4.     Exit Sub
  5. Else
  6.         With ThisWorkbook
  7.              Sheet6.Range("A10:N10").Select
  8.              Sheet6.Range(Selection, Selection.End(xlDown)).Copy
  9.             
  10.             With Workbooks.Open(patch)
  11.             Paste .Sheet1.Range("A65536").End(xlUp).OFFST(1, 0)
  12.            End With
  13.         End With
  14. End If
  15. End Sub
½Æ»s¥N½X
¾Ç²ß¤~¯à´£¤É¦Û¤v

¦^´_ 1# hugh0620

¨þ¨þ~ ­ì¨Ó¤£§xÃø
¥u­n¼g¦¨¤U­±³o¼Ë´N¥i¥H¤F~
  1. Private Sub CommandButton1_Click()

  2. patch = Application.GetOpenFilename("Microsoft Excel ¬¡­¶Ã¯ (*.xls), *.xls")
  3. If patch = False Then
  4.     Exit Sub
  5. Else
  6.     Sheet6.Range("A10:N10").Select
  7.     Sheet6.Range(Selection, Selection.End(xlDown)).Copy Workbooks.Open(patch).Sheets(1).Range("A65536").End(xlUp).Offset(1, 0)
  8. End If

  9. End Sub
½Æ»s¥N½X
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

        ÀR«ä¦Û¦b : ¤H­nª¾ºÖ¡B±¤ºÖ¡B¦A³yºÖ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD