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

½Æ»s¤u§@ªí¨Ã³]©winputbox¨Ã§ó§ï¤u§@ªí¦WºÙ

½Æ»s¤u§@ªí¨Ã³]©winputbox¨Ã§ó§ï¤u§@ªí¦WºÙ

½Ð°Ý¦U¦ì¤j¤j:
§Ú·Q½Æ»ssheet(2)ªºªí®æ¬°·sªº¤u§@ªí
¦ý·Q°µ¤@­Ó³]©winputbox¨Ã§ó§ï¤u§@ªí¦WºÙ

½Ð°Ý³]©winputbox¨Ã§ó§ï¤u§@ªí¦WºÙªºµ{¦¡­n¦p¦ó°µ

Sub ½Æ»s¤u§@ªí()

    ActiveSheet.Copy after:=Sheets(2)  '½Æ»s¤u§@ªí¦b²Ä¤G­Ó¤u§@ªí¦b¥k°¼

   
End Sub

ÁÂÁ¦U¦ì¤j¤jªº±Ð¾É
michael

Sub CopySht()
Dim ShtN$, Sht As Worksheet
ShtN = InputBox("½Ð¿é¤J¤u§@ªí¦WºÙ")
If ShtN = "" Then Exit Sub
On Error Resume Next
Set Sht = Sheets(ShtN)
If Not Sht Is Nothing Then MsgBox "¤u§@ªí¦WºÙ¤w¦s¦b!": Exit Sub
ActiveSheet.Copy after:=Sheets(2)
ActiveSheet.Name = ShtN
End Sub

TOP

¦^´_ 2# ­ã´£³¡ªL

·Ç¤j¤j:
¥i¥H¤F·PÁ±z
michael

TOP

        ÀR«ä¦Û¦b : ·R¤£¬O­n¨D¹ï¤è¡A¦Ó¬O­n¥Ñ¦Û¨­ªº¥I¥X¡C
ªð¦^¦Cªí ¤W¤@¥DÃD