- ©«¤l
- 32
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 41
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN10
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¿Dªù
- µù¥U®É¶¡
- 2016-11-29
- ³Ì«áµn¿ý
- 2021-5-17
|
¦^´_ 7# joey0415
Sub ex()
k = Sheets(2).Cells(9, Columns.Count).End(xlToLeft).Column
For i = 11 To 96
Sheets(2).Cells(i - 9, k + 1) = Sheets(1).Cells(i, 3)
Next
For i = 107 To 120
Sheets(2).Cells(i - 19, k + 1) = Sheets(1).Cells(i, 3)
Next
For i = 137 To 139
Sheets(2).Cells(i - 35, k + 1) = Sheets(1).Cells(i, 3)
Next
Sheets(2).Cells(1, k + 1) = Format(Year(Date), "0000") & Format(Month(Date), "00") & Format(Day(Date), "00")
End Sub
¤j¤j§A¦n
½Ð°Ý¥i¤£¥i¥H¦b¥H¤W«ü¥O¤J±¥[¦Û°Ê¦C¦L,«ö¨C¤ÑŪ¨úªº¤º®e°µ½d³ò.
Sub test()
For i = 2 To 6 Step 2
Range(Cells(i, 1), Cells(i + 1, 5)).PrintOut
Next i
End Sub
§Ú§ä¨ìÃþ¦üªº,¦p¦óקïRange.¥[¤J¦Û°Ê´`Àô¦C¦L ,¦pSheets(2).Cells(1, k + 1) |
|