LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Adding rows?

Do you really need the extra rows?

If for appearance only, select all the rows and double their height through
FormatRowHeight or drag the bottom selected row to a size you like.

If you want the rows inserted Bill has provided a method.

OR you could use a macro if you so choose.

Sub InsertRows()
Application.ScreenUpdating = False
Dim numRows As Integer
Dim r As Long
numRows = 1
For r = 560 To 1 Step -1
ActiveSheet.Rows(r + 1).Resize(numRows).EntireRow.Insert
Next r
Application.ScreenUpdating = True
End Sub


Gord Dibben MS Excel MVP

On Sun, 17 Sep 2006 23:02:04 +0300, "cambanis" wrote:

Hello everyone!
I have a spreadsheet full of data (560x15) and I would like to add one new
row bellow each one existing (1120x15).
Can I do it? (I can manually select rows one by one having CTRL pressed and
then insert Insert Row, but it takes a lot...)
Thanks



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the Excel formula for adding 1 column with several rows? ljsbjs New Users to Excel 3 August 24th 06 11:16 PM
Adding Rows offsets to working rows across two worksheets tom Setting up and Configuration of Excel 3 July 30th 06 07:54 PM
adding new rows and keeping the same formulas [email protected] Excel Worksheet Functions 1 March 7th 06 05:07 PM
Adding new rows Paul Sheppard Excel Discussion (Misc queries) 2 July 28th 05 06:05 AM
adding rows Antoine Excel Discussion (Misc queries) 4 December 22nd 04 02:19 PM


All times are GMT +1. The time now is 10:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"