Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dominique
assuming you have a header in row 1, try this: Sub InsertBlankRows() Dim LastRow As Long Dim i As Long Application.ScreenUpdating = False LastRow = Range("A" & Rows.Count).End(xlUp).Row For i = LastRow - 1 To 2 Step -1 Range("A" & i).Offset(1, 0).Resize(3, 1).EntireRow.Insert Next 'i Application.ScreenUpdating = True End Sub Regards Trevor "Dominique Feteau" wrote in message ... I need a macro that will insert 3 blank rows between each row i already have filled. For example: From: Customer1 Customer 2 Customer 3 To: Customer 1 Customer 2 Customer 3 Any help would be appreciated. Dominique |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto Insert New Rows | Excel Discussion (Misc queries) | |||
How to auto insert rows in a list of numbers | Excel Discussion (Misc queries) | |||
how to auto insert rows in Excel | Excel Discussion (Misc queries) | |||
Auto Insert Rows of Data?? | Excel Discussion (Misc queries) | |||
Auto Insert of Rows | Excel Worksheet Functions |