- ©«¤l
- 913
- ¥DÃD
- 150
- ºëµØ
- 0
- ¿n¤À
- 1089
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2011-8-28
- ³Ì«áµn¿ý
- 2023-7-19
|
¦^´_ 2# GBKEE
G¤j,±z¦n
§Ú§â±z¼gªºµ{¦¡®M¨ì§Úªº¤u§@ªí¥¨¶°¤¤,¦ý¥L°õ¦æ®É,µLªk §@copy¨Ã¶K¤WȪº°Ê§@,§Ú¦b¤u§@ªí¤¤¥´¤F¤½¦¡§@¬°¹êÅç,µ²ªG¥t¦s«á´N³£¶Ã½X¤F,¯à§_À°§Ú¬Ý¬Ý°ÝÃD¥X¦bþ?
PKG2.zip (20.5 KB)
Windows("PKG.xlsx").Activate
Sheets("PKG").Select
Dim Rng(1 To 2) As Range
With ActiveSheet
Set Rng(1) = .Range("D:D").Find("Shipped per SS:", LOOKAT:=xlPart)
Set Rng(2) = .Range("D:D").Find("PACKING:")
If Rng(1) Is Nothing Or Rng(2) Is Nothing Then
MsgBox "§ä¤£¨ì"
Else
.Range(Rng(1), Rng(2)).Resize(, 11).Copy
End If
End With
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("Q122:Q122").Select
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
ActiveSheet.Paste
Rows("143:143").Select
Selection.ClearContents
Range("C1").Select
End With
ActiveWorkbook.SaveAs "P:\Shipping Doc\PJ\" & [Q5] & "_" & [C6] & " PO#" & [V7] & " by " & [C19] & " to " & [C22] & ".xlsx"
Sheets("PKG").Select
Columns("R:AC").Select
Selection.Delete Shift:=xlToLeft
Columns("A:C").Select
Range("C11").Activate
Selection.Delete Shift:=xlToLeft
ActiveWorkbook.Save
End Sub |
|