Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Rather than using the control button to select every other row, which can be
very time consuming when you have more than 100 rows, I am trying to figure out how to auto-insert blank rows between pre-populated rows of information. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Deb,
Try this macro. ALT+F11 to open VB editor. Right click 'ThisWorkbook' and insert module and paste the code in on the right . Change the sheet name to your sheet and run the code Sub insert_rows() Dim ws As Worksheet, x as long Set ws = Sheets("Sheet3") lastrow = ws.Cells(Cells.Rows.Count, "A").End(xlUp).Row For x = lastrow To 2 Step -1 ws.Rows(x).EntireRow.Insert Next End Sub Mike "Deb" wrote: Rather than using the control button to select every other row, which can be very time consuming when you have more than 100 rows, I am trying to figure out how to auto-insert blank rows between pre-populated rows of information. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Blank rows within your data range will give you problems with copy, paste,
sort, filter and probably other functions. Do you really need those blank rows? If just for appearance, doubling the row heights may help you. Gord Dibben MS Excel MVP On Fri, 18 Dec 2009 13:19:02 -0800, Deb wrote: Rather than using the control button to select every other row, which can be very time consuming when you have more than 100 rows, I am trying to figure out how to auto-insert blank rows between pre-populated rows of information. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text to Rows and then Insert Blank Rows | Excel Discussion (Misc queries) | |||
Insert Blank Rows | Excel Discussion (Misc queries) | |||
Need to insert blank rows | Excel Worksheet Functions | |||
How do i insert blank rows between data that is thousands of rows | Excel Discussion (Misc queries) | |||
How do I insert blank rows between rows in completed worksheet? | Excel Discussion (Misc queries) |