- ©«¤l
- 976
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 1018
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-4-19
- ³Ì«áµn¿ý
- 2024-12-18
|
¦^´_ 9# q1a2z5
§Ú¤w¥[¤Wµù¸Ñ¡A©Î³\±z¥i¥H±q¸Ì±¾Ç¨ì¤@¨Ç¦Û¤v·Qnªº¡AµM«á¦Û¤vקï½m²ßÀ³¥Î¡A
§Ú¤]¦b¾Ç²ß¤¤¡A½×¾Â¦³«Ü¦h¼F®`«e½ú¡A¥i¥H¦h¬Ý¬ÝÆ[¼¯¥L̪º¼gªk©M«ä¦ÒÅÞ¿è¡A
¦Û¤v¦h¦h½m²ß´N·|¦³©Ò¦¨ªø¡A¤¬¬Û«jÀy¤§¡A·PÁ¡C
Sub tt()
Dim Arr, Ar(1 To 1, 1 To 6), Ar2(1 To 1, 1 To 6), Ar3(1 To 1, 1 To 6)
Dim Ar4(1 To 1, 1 To 6), T$, j&, i&, N%
Application.ScreenUpdating = False
Tm = Timer
Arr = Sheets("¿é¤Jªí").Range("a1:bb" & [¿é¤Jªí!B65536].End(3).Row) '¸ê®Æ¸Ë¤J¼Æ²Õ
For j = 3 To UBound(Arr, 2) '±q²Ä3Äæ¶}©l¨ì³Ì«á
T = Arr(2, j) '¦~«×
If T = "" Then GoTo 99 '¦pªG¦~«×ªÅ¥Õ´N´«¤UÓ
For i = 3 To 8: N = N + 1: Ar(1, N) = Arr(i, j): Next: N = 0 '109¦~1-6¤ë¸ê®Æ¸Ë¤JAr¼Æ²Õ
For i = 9 To 14: N = N + 1: Ar2(1, N) = Arr(i, j): Next: N = 0 '109¦~7-12¤ë¸ê®Æ¸Ë¤JAr2¼Æ²Õ
For i = 17 To 22: N = N + 1: Ar3(1, N) = Arr(i, j): Next: N = 0 '110¦~1-6¤ë¸ê®Æ¸Ë¤JAr3¼Æ²Õ
For i = 23 To 28: N = N + 1: Ar4(1, N) = Arr(i, j): Next: N = 0 '110¦~7-12¤ë¸ê®Æ¸Ë¤JAr4¼Æ²Õ
With Sheets(T) '¨CÓ¦~«×sheet
.Range("B5").Resize(1, 6) = Ar 'Ar¸ê®Æ¶K¦ÜB5
.Range("B7").Resize(1, 6) = Ar2 'Ar2¸ê®Æ¶K¦ÜB7
.Range("B9").Resize(1, 6) = Ar3 'Ar3¸ê®Æ¶K¦ÜB9
.Range("B11").Resize(1, 6) = Ar4 'Ar4¸ê®Æ¶K¦ÜB11
End With
99: Next
Application.ScreenUpdating = True
MsgBox "°õ¦æ§¹¦¨" & Timer - Tm & " ¬í"
End Sub |
|