Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have an outline worksheet that I imported from Access. I would like it to
fill in three more rows after every blank row. Is there a way I can do this? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Mem,
Use the following code:- Sub t() Cells(1, 1).Select Selection.End(xlDown).Select While ActiveCell.Offset(1, 0).Value = "" ActiveCell.Offset(1, 0).EntireRow.Select Selection.Insert Selection.Insert Selection.Insert Selection.End(xlDown).Select Wend End Sub Thanks & Regards, -- Dilip Kumar Pandey MBA, BCA, B.Com(Hons.) New Delhi, India "mem" wrote: I have an outline worksheet that I imported from Access. I would like it to fill in three more rows after every blank row. Is there a way I can do this? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks. it works but in the wrong part. I want it to insert the rows in the
end of the section. For example I have a supplier and they have a few rows of information and at the end they have a blank row. i would like to insert the 3 new blank rows after this one. Currently it is adding them in the beginning under the supplier. "DILipandey" wrote: Hi Mem, Use the following code:- Sub t() Cells(1, 1).Select Selection.End(xlDown).Select While ActiveCell.Offset(1, 0).Value = "" ActiveCell.Offset(1, 0).EntireRow.Select Selection.Insert Selection.Insert Selection.Insert Selection.End(xlDown).Select Wend End Sub Thanks & Regards, -- Dilip Kumar Pandey MBA, BCA, B.Com(Hons.) New Delhi, India "mem" wrote: I have an outline worksheet that I imported from Access. I would like it to fill in three more rows after every blank row. Is there a way I can do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
insert rows in a worksheet that do not change adjoining rows | Excel Discussion (Misc queries) | |||
How do i insert blank rows between data that is thousands of rows | Excel Discussion (Misc queries) | |||
Insert rows: Formats & formulas extended to additonal rows | Excel Worksheet Functions | |||
How do I insert blank rows between rows in completed worksheet? | Excel Discussion (Misc queries) | |||
How do i insert of spacer rows between rows in large spreadsheets | Excel Discussion (Misc queries) |