- ©«¤l
- 10
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 60
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- Office 2013
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- ¨Ó¦Û
- ·s¥_¥«
- µù¥U®É¶¡
- 2015-6-3
- ³Ì«áµn¿ý
- 2017-1-13
|
§Ú·Q§A²{¦b»Ýnªº¡A¨Ã¤£¥u¬O³æ¯Âªºµ{¦¡¶}µo¡A¦Ó¬O¦p¦ó¨Ï¥Î¦³ªº¨t²Î¸ê·½«Ø¸m¤j¶qªº¸ê®Æ¡C
³o¬Oº¡°ª¶¥ªº°ÝÃD¸Ñ¨M§Þ¥©¡AµLªk²Ó»¡¡A¥u¯à´£¨Ñ¹ê¨Ò¡C
±N¿ý»sªº¥¨¶°½G¨¡A¥¦¨Ï¥Îªº¨t²Î¸ê·½ÁÙ¬O«Ü°ª¡A
¥Ø«e¦b§ÚªºÀô¹Ò¤U¡A²£¥Í1000µ§¥ª¥k¤§¸ê®Æ¡A¨Ï¥Î¸ê·½¤Î°õ¦æ®Ä¯à©|¥i¡A
Y¬On²£¥Í3200µ§ªº¸ê®Æ¡A¯Ó¥Î¬ù20¤À30¬í¤§«á¡A·|¥X²{°T®§¡G¡i°O¾ÐÅ餣¨¬¡j¡C
¥Î§Úªºµ{¦¡¡A§Ú¬O¥H1000µ§¬°³B²z³æ¦ì¡A¯Ó¥Î¬ù07¤À²£¥Í64000µ§¸ê®Æ¡A¥¿±`µ²§ô¡C
´£¿ô¡Gxls¤@Ó¤u§@ªí³Ì¦h¥u¯à¦³65536µ§¸ê®Æ¡C
½Ð¦b¡mData¡n¤u§@ªí¤§I4¤ÎJ4Àx¦s®æ¿é¤J°_©l¦C¤Î²×¤î¦C¡C
Sub copyForNext()
Rem buffer = 999¡G¨C1000µ§¬°1Ó³B²z³æ¦ì
Application.ScreenUpdating = False
Call clearRow '²M°£Â¸ê®Æ
buffer = 999
lineBegin = Worksheets("Data").Range("I4") '°_¦æ
lineEnd = Worksheets("Data").Range("J4") '¨´¦æ
For i = 1 To 10
Worksheets("ªR" & i).Activate
Rows(2).Copy
For j = lineBegin To lineEnd
k = j + buffer
Rows(j & ":" & k).Select
Selection.PasteSpecial Paste:=xlPasteAll
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues
j = k
Next
Rem ¨ú®ø½Æ»s¼Ò¦¡
Application.CutCopyMode = False
Next
Application.ScreenUpdating = True
End Sub
Sub clearRow()
Worksheets(Array("ªR1", "ªR2", "ªR3", "ªR4", "ªR5", "ªR6", "ªR7", "ªR8", "ªR9", "ªR10")).Select
Rows("3:" & Rows.Count).Select
Selection.Clear
'¥H¤U°Ê§@¡A¥u¬O²M°£¥ý«eªº¿ï¾Ü¡A¥H§K¤H¤un¥h¨ú®ø¿ï¾Ü¡C
Range("A1").Select '¥Øªº¡G¥ý«e¿ï¾Ü°Ï°ìªº¤Ï¼v¡A¥u¯d¿ï¾Ü"A1"¤§Àx¦s®æ
Worksheets("ªR1").Select '¥Øªº¡G¥ý«e¿ï¾Ü¤QÓ¤u§@ªí¡A¥u¯d¤@Ó¿ï¾Ü"ªR1"¤§¤u§@ªí
End Sub
|
|