- ©«¤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
|
¦^´_ 4# pupai
·s¤â±`¥Çªº¿ù»~
³oSub ¥¨¶°2() ¬O¦b¤u§@ªíª«¥ó¼Ò²Õ,¦ý¦p Sub ¥¨¶°2()¦b¤@¯ë¼Ò²Õ©ÎThisWorkbook,´N¨S¦³¿ù»~- Sub ¥¨¶°2()
- For i = 2 To 100
- Sheets("¥N½X").Select
- If Trim(Range("A" & i).Value) <> "" Then
- StockNo = Range("A" & i).Value
- Sheets("¨ú±o¸ê®Æ").Select
- Range("B1").Value = StockNo
- Application.Run "'¸³ºÊ«ùªÑ¤ÀªR.xls'!Sheet2.GetData"
- End If
- Next i
- '³o¸Ì¨S¿ù»~*****************
- With Sheets("¶i¶¥¾ã²z")
- .Select
- .Range("A46:M46").Select
- End With
- '*****************
-
- '''µ{¦¡½X¬O¦b[¥N½X]¤u§@ªíª«¥ó¼Ò²Õ.....
- Sheets("¶i¶¥¾ã²z").Select '±N§@¥Î¤¤ªº¤u§@ªí²¾¨ì [¶i¶¥¾ã²z]
- Range("A46:M46").Select '³o¸ÌªºRange("A46:M46")¬O[¥N½X] ªºRange
- '¿ù»~¬O¤£¯à¦b [¶i¶¥¾ã²z]¤¤ «ü©w[¥N½X]ªºRange¬°[¶i¶¥¾ã²z]ªº§@¥Î¤¤ªº½d³ò
- Selection.Copy
- Sheets("Sheet1").Select
- Rows("2:2").Select '¦P¼Ëªº¿ù»~
- Selection.Insert Shift:=xlDown
- Range("A2").Select '¦P¼Ëªº¿ù»~
- Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
- :=False, Transpose:=False
- End Sub
½Æ»s¥N½X |
|