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
回復 21#PJChen
Please check the CI12-460_ACE PO#120309 by FEDEX to .xlsx produced this morning
in D:\Shipping Doc\PJ subdirectory.作者: JOYARK 時間: 2012-5-1 05:44