Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a sheet with data. Based on a selection i want to insert 3 blanco rows on top of the already existing information. So normally I have row 1 to xxx filled, and I now need 3 blanco rows to insert from row 1 to 3. Any code for that?! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As simple as
Rows("1:3").Insert -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Basta1980" wrote in message ... Hi, I have a sheet with data. Based on a selection i want to insert 3 blanco rows on top of the already existing information. So normally I have row 1 to xxx filled, and I now need 3 blanco rows to insert from row 1 to 3. Any code for that?! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Its also the sort of thing you can use the Macro Recorder for. Although the
code will probably be 10 lines long instead of 1, it can give you an idea how it works :) "Bob Phillips" wrote: As simple as Rows("1:3").Insert -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Basta1980" wrote in message ... Hi, I have a sheet with data. Based on a selection i want to insert 3 blanco rows on top of the already existing information. So normally I have row 1 to xxx filled, and I now need 3 blanco rows to insert from row 1 to 3. Any code for that?! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF 0 then blanco | Excel Discussion (Misc queries) | |||
Copying & Inserting Rows w/o Affecting other Rows Etc. | Excel Worksheet Functions | |||
Inserting Blank rows after every row upto 2500 rows | Excel Worksheet Functions | |||
Why is inserting rows throwing off my hidden rows | Excel Programming | |||
Inserting multiple rows in excel with data in consecutive rows | Excel Programming |