- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¥»©«³Ì«á¥Ñ hugh0620 ©ó 2012-3-29 18:35 ½s¿è
¦^´_ 1# enoch
Ó¤H²q´ú~
¬O¦]¬°¦³«ÂЦWºÙªºsheet¦s¦b~ ¾ÉP¥u°õ¦æ¨ì¤@¥b´NÂ_±¼~
À³¥Î¥H«eG¤j¤j±Ðªº¤è¦¡,¬å±¼¤£µ¥©óSampleªºsheet´N¤£·|¦³°ÝÃD
¦ýÁÙ¬On¬Ý§Aªº»Ý¨D¬O¤°»ò,¤~¯à°÷¹ï¯g¤UÃÄ- Sub ½Æ»s¤u§@ªí()
- Dim i As Integer
- Dim no As Integer
- Dim e As Integer
-
- i = Application.InputBox("½Ð¿é¤J¼Æ¦r" & Chr(10) & "©Î«ö '¨ú®ø' °±¤î¥¨¶°", _
- "½Æ»s¤u§@ªí±i¼Æ", Type:=1)
- If i > 0 Then
- e = i
- '=====±N¤£µ¥©ósample§R°£¡A¦A«·s·s¼W====
- Application.DisplayAlerts = False
- For Each A In Sheets
- If A.Name <> "sample" Then
- A.Delete
- End If
- Next
- Application.DisplayAlerts = True
- '=======================================
- For no = 1 To i
- Worksheets("sample").Copy before:=Worksheets(1)
- Sheets(1).Name = e
- e = e - 1
- Next no
- End If
- End Sub
½Æ»s¥N½X |
|