- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 248
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-16
|
¦^´_ 3# koiiven
§Ú»{¬°¬O¦b¦P¤@ÓsÈn°µ¨âÄæ¦ìªº¿ï¨ú¡A¹ï¶Ü?
¨ºs´Nn°õ¦æ§¹¨â¦¸«á¦A¥[¤Wj- Sub Macro2()
- Dim j&
- Dim k&
- k = InputBox("Á`¼Æ¶q", , 0)
- Do Until s >= k
- i = InputBox("¿é¤J¦WºÙ", , 0)
- j = InputBox("¿é¤J¼Æ¶q", , 0)
-
- Sheets("ªÅ¥Õªí®æ").Select
- Sheets("ªÅ¥Õªí®æ").Copy After:=Sheets(2)
- Sheets(3).Select
- Sheets(3).Name = i
-
- Sheets("ì©lÀÉ").Select
- Range("B5").Offset(s, 0).Resize(j, 3).Select
- Selection.Copy
- Sheets(3).Select
- Range("C7").Select
- Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
- :=False, Transpose:=False
-
- Sheets("ì©lÀÉ").Select
- Range("H5").Offset(s, 0).Resize(j, 1).Select '·|¿ï¾ÜH8¨ìH10 ¸Ó¦p¦óקï¤~¯à¿ï¾ÜH5¨ìH7©O?
- s = s + j
- Selection.Copy
- Sheets(3).Select
- Range("F7").Select
- Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
- :=False, Transpose:=False
- Loop
- End Sub
½Æ»s¥N½X |
|