Ok. So I already know about the highlight all the extra rows then hit Delete, CTRL+Home, and then Save the worksheet and this has worked every time I ever needed it to. However, now when I follow this process I gain like 200 more rows. So I'm like that's weird and I do it again, there by gaining another 200 more rows. So after adding like 1,400 extra rows to my document of 362 I gave up and I have no idea what the problem is. I do have this VBA code, but I don't think it's the culprit. Please help!!
All the code does it open all the rows possible and then hide/unhide the rows that have a 0 or 1.
All the code does it open all the rows possible and then hide/unhide the rows that have a 0 or 1.
Code:
Sub RunPACEMODELPICKUP()
Sheets("Pickup Model").Select
Application.Run "TM1RECALC"
Rows("1:362").Select
Selection.EntireRow.Hidden = False
Set Rng = Range("G4", Range("G362").End(xlUp))
For Each cel In Rng
If Not cel.Value > 0 Then
cel.EntireRow.Hidden = True
End If
Next cel
Range("K1").Select
End Sub
Last edited by a moderator: