- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 257
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-27
|
¦^´_ 3# y663258 - Sub nn()
- Dim ar(7, 6) '«Å§i¤@Ó6¦C7Ä檺°}¦C
- ar(1, 2) = "¦~": ar(3, 2) = "¤ë": ar(5, 2) = "¤é" '©T©w¤£ÅܪºÈ¥ý¼g¤J°}¦C
- r = 4: k = 1 '¶}©l¼g¤Jªº¦ì¸mr¬O¦C¦ì¡Ak¬OÄæ¦ì
- With Sheet2
- For Each a In .Range(.[A2], .[A65536].End(xlUp))
- ar(0, 4) = a.Value 'AÄ檺ȬO°}¦C¤¤²Ä5Ä檺²Ä1Ó¦ì¸m
- ar(0, 2) = a.Offset(, 1).Value 'BÄ檺ȬO°}¦C¤¤²Ä3Ä檺²Ä1Ó¦ì¸m
- ar(2, 2) = a.Offset(, 2).Value 'CÄ檺ȬO°}¦C¤¤²Ä3Ä檺²Ä3Ó¦ì¸m
- ar(4, 2) = a.Offset(, 3).Value 'DÄ檺ȬO°}¦C¤¤²Ä3Ä檺²Ä5Ó¦ì¸m
- ar(0, 0) = a.Offset(, 4).Value 'EÄ檺ȬO°}¦C¤¤²Ä1Ä檺²Ä1Ó¦ì¸m
- Sheet1.Cells(r, k).Resize(7, 6) = ar '¼g¤J¨ìªí®æ
- k = k + 6 '·Ç³Æ¤U¤@Ó¼g¤JÄæ¦ì
- If k = 25 Then k = 1: r = r + 10 '¦]¬°¼ÐÅÒ¾î¦V¦³4±i¡A¨C±i¦û¤F6Äæ¡A©Ò¥H·í¼g¤J¦ì¸m¨ì¤F25Äæ®É¥²¶·¦^¨ì²Ä¤@Äæ¡A¨Ã¦V¤U¦ì²¾10¦C¼g¤J
- Next
- End With
- End Sub
½Æ»s¥N½X |
|