- ©«¤l
- 19
- ¥DÃD
- 12
- ºëµØ
- 0
- ¿n¤À
- 60
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-9-27
- ³Ì«áµn¿ý
- 2017-12-21
|
¥»©«³Ì«á¥Ñ ken759727 ©ó 2012-2-16 20:02 ½s¿è
½Ð°Ý¤p§Ìvba¦p¤U¡A
¤ñ¹ï¤é´Á¡®¶K¤W³o³¡¤À³B²z¨ä¥L¤À¶³£¨S°ÝÃD
¦ý¬O©¹¤U¶ñº¡Äæ¦ìªº¥\¯à«oµLªk°õ¦æ¦b¨ä¥L¤À¶[¬õ¦â³¡¤À]
¤£ª¾¹D¬OþÃä¼g¿ù¤F¡C
Worksheets("0051¸ê®Æ®w").Range("EA320:FQ320").Select
Selection.AutoFill Destination:=Worksheets("0051¸ê®Æ®w").Range("EA320:FQ" & i), Type:=xlFillDefault
Worksheets("0051¸ê®Æ®w").Range("EA320:FQ" & i).Select- Dim i As Integer
- Private Sub CommandButton1_Click()
- For i = 22 To 10000
- '¤ñ¹ï¤é´Á¶K¤W
- If Worksheets("0050¸ê®Æ®w").Range("A20") = Worksheets("0050¸ê®Æ®w").Range("A" & i) Then
- Worksheets("0050¸ê®Æ®w").Range("B" & i & ":DQ" & i).Value = Worksheets("0050¸ê®Æ®w").Range("B20:DQ20").Value
- Worksheets("0051¸ê®Æ®w").Range("A" & i & ":DZ" & i).Value = Worksheets("0051¸ê®Æ®w").Range("A20:DZ20").Value
- '¶K¤W«á¶ñº¡¤½¦¡
- Worksheets("0050¸ê®Æ®w").Range("DR320:FE320").Select
- Selection.AutoFill Destination:=Worksheets("0050¸ê®Æ®w").Range("DR320:FE" & i), Type:=xlFillDefault
- Worksheets("0050¸ê®Æ®w").Range("DR320:FE" & i).Select
- Worksheets("0051¸ê®Æ®w").Range("EA320:FQ320").Select
- Selection.AutoFill Destination:=Worksheets("0051¸ê®Æ®w").Range("EA320:FQ" & i), Type:=xlFillDefault
- Worksheets("0051¸ê®Æ®w").Range("EA320:FQ" & i).Select
- Worksheets("0050¸ê®Æ®w").Range("E14").Select
- GoTo stockup
- End If
- Next
- stockup:
- End Sub
½Æ»s¥N½X |
-
-
Test_v4.rar
(329.41 KB)
ÀÉ®×
|