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

±q¨ä¥LexcelÀɮװŶK¦Ü«ü©w°Ï°ì

±q¨ä¥LexcelÀɮװŶK¦Ü«ü©w°Ï°ì

¦­¦w¡A¦U¦ì¤j¤j¥ý¶i­Ì¡C¤pªº·Q½Ð°Ý ¦p¦ó±qB.xls ªº ¯S©w°Ï°ì °Å¶K ¦Ü A.Xls ªº¯S©w°Ï°ì ¡A¤pªº¼g¤F¤@¨Çµ{¦¡½X¡A¦ý¬O...¥¢±Ñ¤F

¥H¤U¬O­Ó¤H¼gªºµ{¦¡½X

Sub ±q¨ä¥LexcekÀɰŶK()

Dim A As Workbook, B As Workbook

  Set A = Workbooks("a.xlsx")

  Set B = Workbooks("b.xlsx")


  B.Worksheets("¤u§@ªí1").Range("a1:c3").Copy Destination:=A.Worksheets("¤u§@ªí1").Range("a1:c3")


End Sub

½Æ»s¶K¤W.zip (11.75 KB)

** µ{¦¡¦WºÙ ,Åܼƪº«Å§i ¬Ò¶·ÁקK¨Ï¥Î»PVBA¤WªºÃöÁä¦r(ª«¥ó,¨ç¼Æ,ÄÝ©Ê,¤èªk)¬Û¦Pªº¤å¦r **

¬Ý¨ì·s¤â±Ð¾Ç¡A±NÅܼÆA.B §ï¬°ÅܼÆX.Y «á¡A ¤Î¥t¦s·sÀɬ°±Ò¥Î¥¨¶°ªº¬¡­¶Ã¯«á¡C

¦A¦¸°õ¦æµ{¦¡½X¡A¨ÌµMÅã¥Ü§ä¤£¨ì¤èªk©Î¦¨­û...

TOP

¥»©«³Ì«á¥Ñ ML089 ©ó 2016-2-29 13:57 ½s¿è

¦^´_ 1# ¾Ç¨ì¦Ñ¦º

§Aªºµ{¦¡¥i¥H°õ¦æ

¥i¥H¸Õ¸Õ³o¼Ë
Sub ±q¨ä¥LexcekÀɰŶK()
    Dim A As Workbook, B As Workbook
    Set A = Workbooks("a.xlsx")
    Set B = Workbooks("b.xlsx")
   
    A.Worksheets("¤u§@ªí1").Range("a1:c3") = B.Worksheets("¤u§@ªí1").Range("a1:c3").Value

End Sub
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

        ÀR«ä¦Û¦b : ¦n¨Æ­n´£±o°_¡A¬O«D­n©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD