- ©«¤l
- 2025
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 2053
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- Office2007
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_¥«
- µù¥U®É¶¡
- 2011-3-2
- ³Ì«áµn¿ý
- 2024-3-14
|
¥»©«³Ì«á¥Ñ ML089 ©ó 2021-7-23 23:07 ½s¿è
¦^´_ 5# ziv976688
Nrange = "1878" 'InputBox("½Ð¿é¤J¹Bºâªº¨´¤î´Á¼Æ", "¿é¤J´Á¼Æ")
Num = "25" 'InputBox("½Ð¿é¤J½Æ»sªº´Á¶Z¼Æ½d³ò", "¿é¤J¶Z´Á¼Æ")
' '³sÄò½Æ»s
' '¦C36
' For Each xS In Sheets(Array("·Ç3¶i4", "·Ç4¶i5", "·Ç5¶i6", "·Ç6¶i7", "·Ç7¶i8"))
' Sheets("DATA").Range("A" & Nrange - Num - 2, "I" & Nrange - 2).Copy xS.Range("AU2") '½Æ»s«ü©wªºDATA!A:I½d³ò¶K¤WAU2
' Next
'
' For Each xS In Sheets(Array("·Ç4¶i5", "·Ç5¶i6", "·Ç6¶i7", "·Ç7¶i8"))
' Sheets("DATA").Range("A" & Nrange - Num - 3, "I" & Nrange - 3).Copy xS.Range("BD2")
' Next
'
' For Each xS In Sheets(Array("·Ç5¶i6", "·Ç6¶i7", "·Ç7¶i8"))
' Sheets("DATA").Range("A" & Nrange - Num - 4, "I" & Nrange - 4).Copy xS.Range("BM2")
' Next
'
' For Each xS In Sheets(Array("·Ç6¶i7", "·Ç7¶i8"))
' Sheets("DATA").Range("A" & Nrange - Num - 5, "I" & Nrange - 5).Copy xS.Range("BV2")
' Next
'
' For Each xS In Sheets("·Ç7¶i8")
' Sheets("DATA").Range("A" & Nrange - Num - 6, "I" & Nrange - 6).Copy xS.Range("CE2")
' Next
Srr = Array("·Ç3¶i4", "·Ç4¶i5", "·Ç5¶i6", "·Ç6¶i7", "·Ç7¶i8")
Prr = Array("AU2", "BD2", "BM2", "BV2", "CE2")
Nrr = Array(2, 3, 4, 5, 6)
For i = 0 To 4
For j = i To 4 'ª`·N ¤w¸gקï¹L
Sheets("DATA").Range("A" & Nrange - Num - Nrr(i), "I" & Nrange - 6).Copy Sheets(Srr(j)).Range(Prr(i))
Application.Goto Sheets(Srr(j)).Range(Prr(i))
Next
Next |
|