Hi Matt,
You won't be able to sort, so you might want to just change the
row height instead. But here is a macro to insert a row
between rows with data. Note in inserting or deleting rows
you start a loop from the bottom. More information in
http://www.mvps.org/dmcritchie/excel/insrtrow.htm
and example of what you asked for:
Sub InsertALTrows()
'David McRitchie, misc 2000-01-27
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual 'pre XL97 xlManual
Dim i as long
i = ActiveSheet.UsedRange.Rows.Count 'attempt to fix last cell location
For i = Cells.SpecialCells(xlLastCell).Row To 2 Step -1
If Len(Trim(Cells(i, 1))) <> 0 Then Rows(i).Insert ' 1 is Column A
Next i
Application.Calculation = xlCalculationAutomatic 'pre XL97 xlAutomatic
Application.ScreenUpdating = True
End Sub
note you can immediately rerun the macro without inserting more rows because it
checks to see if there is a need to insert based on content in Column A cell.
Note the macro is general purpose it does not use your number of about
1000 rows in any manner. It checks for the last row.
To install and use a macro see my Getting Started with Macros
http://www.mvps.org/dmcritchie/excel/getstarted.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages:
http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page:
http://www.mvps.org/dmcritchie/excel/search.htm
Matt said:
I have about 1000 rows of data in column A. How do I insert a blank row in between each row, without doing it one at a time? Is
there a way to insert alternating blank rows for an entire sheet? Please Help.