
Originally Posted by
Peter T
That's not a large Usedrange, guess there's something else lurking on that
sheet.
Try deleting all columns to the right and rows below BR568
If that doesn't make a difference, with a *backup*
- Insert a new sheet one to the left
- Cut A1:BR568 and paste into the new sheet
- delete the now empty sheet
- rename the new same as old
Regards,
Peter T
hmm.. the "ReArranged - No Formulas" sheet gets generated every time i run the macro by copying the entire sheet and pasting special values from the original "ReArranged" sheet. On second look, it does seem like the new sheet is 64k rows long and IV colums wide. it seems like i have two options at this point:
1) is there a way i can delete those extra rows/columns in "ReArranged - No Formulas" with VBA?
or
2) would it be better to just select the data cells in "ReArranged" (A1:BR568) when i originally copy it? if so. how can i do that so that it works when there is a different number of rows/colums? (it wont always be A1:BR568) ?
currently i do it like this:
'Create new "No Formula" Sheet
Sheets("ReArranged - No Formulas").Select
Sheets("ReArranged").Cells.Copy
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
thanks again.
Bookmarks