With Sheets("PPT")
If .[A1].Value <> "" Then .[A1:Z200].Delete Shift:=xlShiftUp '清除所有資料
[A1].CurrentRegion.Copy
.[A1].PasteSpecial Paste:=xlPasteAllUsingSourceTheme, Operation:=xlNone _
, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
A = .UsedRange.Rows.Count
For i = 2 To A
.Range("U" & i).Value = .Range("G" & i).Value + 1
Next i
End With
With Sheets("PPT")
If .[A1].Value <> "" Then .[A1:Z200].Delete Shift:=xlShiftUp '清除所有資料
[A1].CurrentRegion.Copy
.[A1].PasteSpecial Paste:=xlPasteAllUsingSourceTheme, Operation:=xlNone _
, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
A = .UsedRange.Rows.Count
For i = 2 To A
.Range("U" & i).Value = .Range("G" & i).Value + 1
Next i
End With