how to insert more then 1 row at a time..

RompStar

Well-known Member
Joined
Mar 25, 2005
Messages
1,200
so I right click on the row and choose Insert, how can one insert say 10 or 20 rows at the same time... instead of the default 1 ?

thank you.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
RompStar said:
so I right click on the row and choose Insert, how can one insert say 10 or 20 rows at the same time... instead of the default 1 ?

thank you.
select ten rows; then right click and choose insert
 
Upvote 0
what if there is only one empty row between the data above and below and you want to insert 10 new rows and you can't select 10 blank rows ?

Good idea to maybe put an option like this into Excel for the upcoming upgrades... On the Insert, there should be also an option, Insert (more then one row) and then a window would popup and you would enter the number...

:LOL: :LOL:
 
Upvote 0
You don't need to have blank rows.

Just select 10 rows beneath the row where you want them inserted and Insert--Rows.

HTH,

Smitty

EDIT:
On the Insert, there should be also an option, Insert (more then one row) and then a window would popup and you would enter the number...
<font face=Tahoma><SPAN style="color:#00007F">Sub</SPAN> InsertRows()
    <SPAN style="color:#00007F">Dim</SPAN> i <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Integer</SPAN>
        i = Application.InputBox("Enter the number of rows to insert", "Insert Rows", Type:=1)
        
        Range(ActiveCell, ActiveCell.Offset(i - 1)).EntireRow.Insert
<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN></FONT>
 
Upvote 0
ahhhh, ok, let me try that .. : -)

that's way cool, I'll make sure to use that script..
 
Upvote 0

Forum statistics

Threads
1,214,848
Messages
6,121,914
Members
449,054
Latest member
luca142

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top