Excel VBA to move data w/out changing cell reference

I have a worksheet that has subtotals/grand totals on it.   As part of a process I am removing specific data from it AFTER the calculations and putting that data on another sheet (YTD) in the same workbook.  When I do this, the subtotal's reference points are changing to the place I have moved the data to.  I want the subtotal reference to remain the same as they originally were and turn to zero's if necessary as I have deleted the data from the starting sheet.  I do not want the reference to move with the data.  

This is what I use to move the data now.
 Dim X As Long, LastRow As Long
    Application.ScreenUpdating = False
        For X = ActiveSheet.Cells(Rows.Count, "B").End(xlUp).Row To 1 Step -1
           
            If ActiveSheet.Cells(X, "A") = "PSPD" Or _
            ActiveSheet.Cells(X, "A") = "PITD" Or _
            ActiveSheet.Cells(X, "A") = "PEND" Or _
            ActiveSheet.Cells(X, "A") = "PACD" Then
                LastRow = Sheets("YTD").Cells(Rows.Count, "A").End(xlUp).Offset(1).Row
                ActiveSheet.Cells(X, "A").EntireRow.Cut Destination:=Sheets("YTD").Range("A" & LastRow)
            End If
        Next

Any thoughts would be appreciated.
jenitAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Can you try something like this?
LastRow = Sheets("YTD").Cells(Rows.Count, "A").End(xlUp).Offset(1).Row
ActiveSheet.Cells(X, "A").EntireRow.Copy
Sheets("YTD").Range("A" & LastRow).PasteSpecial xlPasteValues
ActiveSheet.Cells(X, "A").EntireRow.Delete

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jenitAuthor Commented:
Thanks, that was just the extra lines I needed.  THANKS!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.