- ©«¤l
- 552
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 578
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office 2010
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-2-8
- ³Ì«áµn¿ý
- 2024-7-9
|
¦^´_ 3# ¶¶¶Õ¦Ó¬°
¦Ò¼{§A¤£¯à¤U¸üÀɮסA©Ò¥H¥uPO¤Wµ{¦¡½X¡A½Ð¦Û¦æ´«´«¸m
ì¨Óªºµ{¦¡¡A¤j³¡¥÷§R°£±¼¤F¡A¶â¡I¤Óªø¤F¡I°}¦C¦p¦¹¨Ï¥Î¡A·|²Ö¦º¤Hªº¡A©Ò¥H§Ú§â¥¦§ï±¼¤F- Sub ¾É¤J()
- With Sheets("¾P³f³æ")
- If .[B12] = "" Then MsgBox "½Ð¿é¤J¸ê®Æ«á¦A«ö«ö¶s ": Exit Sub
- shN = .[O14]
- Ro = .[B27].End(xlUp).Row
- arr = .Range("C12:I" & Ro)
- ¤é´Á = .[h7]
- End With
- On Error Resume Next 'ªí¥Ü·í¤@Ó°õ¦æ¶¥¬q¿ù»~²£¥Í®É¡Aµ{¦¡±±¨î¥ß¨è¨ìµo¥Í¿ù»~³¯z¦¡±µ¤U¥hªº³¯z¦¡
- Set xS = Sheets(shN) '³]©w xS ¬°´M§äªº¤u§@ªí ¦pªG§ä¤£¨ì·|²£¥Í¿ù»~¡A©Ò¥Hn¦³¤W¤@¥y©M¤U¤@¥y
- On Error GoTo 0 '°±¤î²{¦bµ{§ÇùØ¥ô¦ó¤w±Ò°Êªº¿ù»~³B²zµ{¦¡
- With xS
- xSro = .Cells(Rows.Count, 1).End(xlUp).Row + 1
- .Cells(xSro, "B").Resize(UBound(arr, 1), UBound(arr, 2)) = arr
- .Range("A" & xSro & ":A" & xSro + UBound(arr, 1) - 1) = ¤é´Á
- End With
- Sheets("¾P³f³æ").Select
- Range("B12:B26,D12:D26,H7:H8,H5").ClearContents
- Range("C4") = "S" & Format(Right(Range("C4"), 4) + 1, "0000")
- End Sub
½Æ»s¥N½X |
|