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

¥Î°Ñ¼Æ¶i¦æ¤u§@ªíªº½Æ»s°ÝÃD

¥Î°Ñ¼Æ¶i¦æ¤u§@ªíªº½Æ»s°ÝÃD

[ª©¥DºÞ²z¯d¨¥]
  • GBKEE(2015/9/25 07:06): ªþÀɬݲM·¡

¥»©«³Ì«á¥Ñ GBKEE ©ó 2015-9-25 07:04 ½s¿è

' Ū¨úÀɦW
    Dim Copywb As String
    Copywb = TextBox1.Value   
    MsgBox (Copywb)
' Ū¨ú¤u§@ªí
    Dim Copyws As String
    Copyws = ComboBox1.Value
    MsgBox (Copyws)
' ½Æ»s¤u§@ªí
   Workbooks(Copywb).Sheets(Copyws).Copy before:=Workbooks("A.xls").Sheets("Sheet2")

½Ð°Ý
§Ú±q¨â­Ó¤U©Ô¿ï³æ¤¤Åª¥X­È¡A¨Ã¥ÎMsgBox ()½T»{¥¿½T
¦ý¬O §Ú«o¨S¦³¿ìªk¥ÎŪ¥Xªº­È
¨Ó¶i¦æ¨â­Ó¬¡­¶Ã¯¤¤¤u§@ªíªº½Æ»s

¦^´_ 1# mimic1


Msgbox ·íµM¥i¥HŪ¨ú¡e¤å¦r¡f¡A¥¦¤£°õ¦æ¥ô¦ó¤u§@ªº¡I
­Ë¬O Workbooks(Copywb) ³oÀɮ׬O§_¦³¡e¥ý¡f¶}±Ò¡H

TOP

        ÀR«ä¦Û¦b : ·O´d¨S¦³¼Ä¤H¡A´¼¼z¤£°_·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD