- ©«¤l
- 216
- ¥DÃD
- 71
- ºëµØ
- 0
- ¿n¤À
- 292
- ÂI¦W
- 0
- §@·~¨t²Î
- window xp
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2012-6-27
- ³Ì«áµn¿ý
- 2024-9-28
|
¦^´_ 2# lpk187
§A¦n, §Ú·Q±NÁ`ªíªº©Ò¦³FORMAT, ¥]¬AÄæ¼e¤Î¦C°ª¤ÎFONT³£COPY¨ì¨C¤@±i¤u§@ªí, ¦]·í¤¤¦³±ø½X, ©Ò¥H¥²¶·³sFORMAT¤@¨ÖCOPY, ¤w¥[¤U¦C¥N½X, ¦ý¥u¥iCOPYÃC¦â, ½Ð±Ð¬O¨º¤@¥y¤í¤F?
¨C3²Õ²¾°Ê·s¤u§@ªí20150929.rar (18.77 KB)
- Sub ex()
- On Error Resume Next
- With Sheets("Á`ªí")
- x = 1: y = 3
- ro = .Cells(Rows.Count, 1).End(xlUp).Row
- For I = 1 To ro Step 12
- Set sh = Sheets(x & "~" & y & "²Õ")
- If sh Is Nothing Then
- Set sh = Worksheets.Add(After:=Sheets(Sheets.Count))
- sh.Name = x & "~" & y & "²Õ"
- End If
- .Range("a" & I & ":D" & I + 11).Copy Sheets(sh.Name).Range("A1")
- [color=Red] .PasteSpecial xlPasteColumnWidths, False, False
- .PasteSpecial xlPasteValues, , False, False
- .PasteSpecial xlPasteFormats, , False, False[/color]
- x = x + 3: y = y + 3
- Set sh = Nothing
- Next
- End With
- End Sub
½Æ»s¥N½X |
|