Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Add rows to top of list instead of bottom

Is there a default way to add rows to the top of the list instead of the
bottom, also without the shading of cell height from the header row.

Many thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 471
Default Add rows to top of list instead of bottom

I assume you mean with a macro. If you want to insert more rows, modify the
code. Just do this:

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 11/16/2007
'

'
Rows("2:2").Select
Selection.Insert Shift:=xlDown
Rows("3:3").Select
Selection.Copy
Rows("2:2").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End Sub



"harwookf" wrote:

Is there a default way to add rows to the top of the list instead of the
bottom, also without the shading of cell height from the header row.

Many thanks in advance.

Reply
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
Rows to repeat at bottom m.sartele Setting up and Configuration of Excel 1 February 13th 06 09:05 PM
How do I centre rows top to bottom? Centre top to bottom excel Excel Worksheet Functions 1 October 13th 05 01:02 PM
Rows to Repeat at bottom ricky Excel Worksheet Functions 1 September 23rd 05 02:26 PM
Rows to repeat at BOTTOM. crazybass2 Setting up and Configuration of Excel 0 September 1st 05 11:47 PM
Rows to repeat at the bottom RAJEEV CHADHA Excel Worksheet Functions 3 April 27th 05 12:45 PM


All times are GMT +1. The time now is 08:50 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"