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

[µo°Ý] ¦p¦ó¥ÎVBA½Æ»s¸ê®Æ¨ì«ü©w¦ì¸m?

[µo°Ý] ¦p¦ó¥ÎVBA½Æ»s¸ê®Æ¨ì«ü©w¦ì¸m?

·Q½Ð°Ý¡A¦pªG§Ú¦³¤G­ÓexcelÀÉ¡A·Q½Æ»s"a.xls"¤¤ªº"A1:D4"Àx¦s®æ¦Ü"b.xls"
¦ý·Ç³Æ¶K¤W®É¡A·|¨q¥X"¹ï¸Ü®Ø"°Ý»¡­n±q¨º­ÓÀx¦s®æ¶}©l¶K¤W ©Î ¬O§Ú·Æ¹«©Ò«öªº¦ì¸m¤W¶i¦æ¶K¤W
½Ð°Ý¥i¥H³o¼Ë°µ¶Ü?(¥Ø«e¥u·|¶K¤W¦Ü©T©w¦ì¸m¤W)
ÁÂÁÂ

¦^´_ 1# ie123456


    »yªk¦p¤U¨Ò¡G
  1. Set myCell = Application.InputBox(prompt:="½Ð¿ï¾ÜÀx¦s®æ©Î½d³ò", Type:=8)
  2. AA = myCell.Address
  3. Worksheets("¤u§@ªí1").Range("A1:D4").Copy Destination:=Worksheets("¤u§@ªí3").Range(AA)
½Æ»s¥N½X

TOP

¤£ª¾¦³¨S¦³²Å¦X§Aªº´Á¤è¦¡

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Workbooks("A.xls").Activate
Sheets("sheet1").Range("A14").Copy
Workbooks("B.xls").Activate
Selection.PasteSpecial xlPasteAll
End Sub

TOP

·PÁ¤G¦ìªºÀ°¦£¡A¤j·§ª¾¹D«ç»ò°µ¤F¡A¦pªGÁÙ¦³°ÝÃD¡A¦b¤W¨Ó½Ð±Ð
ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¤H¥Í¨S¦³©Ò¦³Åv¡A¥u¦³¥Í©Rªº¨Ï¥ÎÅv¡C
ªð¦^¦Cªí ¤W¤@¥DÃD