LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Inserting a Row with VBA - reply

I hope, this is the proper way how to answer the question with reply
email ". If not, I am sorry...

Try this:

Sub Insert_row()
ActiveCell.EntireRow.Insert Shift:=xlDown
End Sub

The code adds a new row above the row where is the active cell.

Bye

Grond
 
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
Reply for Macropod Zygy Excel Worksheet Functions 7 April 30th 06 08:06 AM
No reply Gary Excel Worksheet Functions 1 March 17th 06 05:29 PM
Reply JohnUK Excel Discussion (Misc queries) 1 February 27th 05 07:21 PM
Reply to Tom Phil Perry Excel Programming 1 July 12th 03 05:56 PM
Reply to Tom phil perry Excel Programming 0 July 11th 03 09:11 PM


All times are GMT +1. The time now is 11:27 AM.

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"