If I understand your question, The screen updating feature works no matter how many rows you have or what you select. It is independent of any code.
If I understand your question, The screen updating feature works no matter how many rows you have or what you select. It is independent of any code.
Peace of mind is found in some of the strangest places.
YEAH I think?
You know when you select the entire sheet by clicking on the top left hand corner of the sheet and then say format the row height - the change is very, very fast - no matter how large the sheet, that's what I am talking about.
is there a way to format every other row just as fast?
I am sure I have to use VBA - but perhaps I dont have to loop through each row?
To live is Christ... To code is cool!
There are several ways to do just about everything, but in this case Norie's solution is the best and fastest way to go, IMHO. However, others may have something else to say.
Peace of mind is found in some of the strangest places.
Try using SpecialCells, xlCellTypeBlanks possibly. Maybe something like this ...
[vba]Option Explicit
Sub DeleteBlankRowsPlz()
Dim Rng As Range
Set Rng = Selection 'set as desired
On Error Resume Next
Rng.SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End Sub[/vba]
Regards, Zack Barresse
Check out the KB! :|: BOARD TAGS: WHAT ARE THEY AND HOW DO I USE THEM
What is a Microsoft MVP? | Free Microsoft Courses | My Book on Excel Tables