- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2011-5-17 07:50 ½s¿è
¦^´_ 5# jesscc
´«¤@Ó¥N¸¹©M´¡¤Js = 0 ³o¨âªÌ¤S¦³¤°»ò®t§O©O?·Pı¦n¹³³£¦³Âk¹sªº·N«ä¹À ¨S¦³®t§O¦ý´N¬OnÂk¹s.
'¨ú¥X Etrusion ¥X³f©ú²Ó
Sheets("Etrusion").Activate
Dim Ay1()
''
ReDim Preserve Ay1(s)
Ay1(s) = Array(Cells(i, ar1(0)).Value, Cells(i, ar1(1)).Value)
s = s + 1
Next
'
'¨ú¥X Metal ¥X³f©ú²Ó
µ{¦¡¶i¦æ¨ì¦¹ s=26
Dim Ay2()
ar2 = Array("D", "H")
For j = 7 To Cells(Rows.Count, 2).End(3).Row
ReDim Preserve Ay2(s) ' ·í j=7 ®É Ay°t¸m26ÓµL¸ê®ÆªºÀx¦sªÅ¶¡
Ay2(s) = Array(Cells(j, ar2(0)).Value, Cells(j, ar2(1)).Value) 'Ayªº²Ä26Àx¦sªÅ¶¡¸ê®Æ¬°¤@ºû°}¦C ........(S=S+1)
s = s + 1
Next
Workbooks("SPECforMRPtest.xls").Activate
With Sheets("MRP")
.Cells(.Rows.Count, 49).End(xlUp).Offset(1, 0).Resize(s, 2) = Application.Transpose(Application.Transpose(Ay2))
'¦]¦¹Ay1()©MAy2()ªº¸ê®Æ§ÎºA´N·|¤£¦P¡A¬O³oÓ·N«ä¶Ü? ¤£¬Oªº
'³Ì²×¤F Ay2¾ãÓ°}¦C¸Ì°ÑÂøªÅ¥Õ¤¸¯À¤Î¤@ºû°}¦C ¸ê®Æªº«¬ºA¤£¤@P µLªk©ñ¦b .Cells(.Rows.Count, 49).End(xlUp).Offset(1, 0).Resize(s, 2)
End With |
|