Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 41
Default Insert Row & Paste Data

I'm hoping someone can help me.
I'd like to know what code I need to insert a row below the current line I'm
working in, then to copy all formulae and formats from A50:AM50 (named range
"property") and paste this into the same columns in the row that has been
inserted.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Insert Row & Paste Data

something like this

ActiveCell.Offset(1, 0).EntireRow.Insert
Range("property").Copy ActiveSheet.Range("A" & ActiveCell.Row + 1)


"Karen McKenzie" wrote:

I'm hoping someone can help me.
I'd like to know what code I need to insert a row below the current line I'm
working in, then to copy all formulae and formats from A50:AM50 (named range
"property") and paste this into the same columns in the row that has been
inserted.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Insert Row & Paste Data

See David McRitchie's site for Insert Rows code.

http://www.mvps.org/dmcritchie/excel/insrtrow.htm


Gord Dibben MS Excel MVP

On Mon, 19 Mar 2007 04:38:08 -0700, Karen McKenzie
wrote:

I'm hoping someone can help me.
I'd like to know what code I need to insert a row below the current line I'm
working in, then to copy all formulae and formats from A50:AM50 (named range
"property") and paste this into the same columns in the row that has been
inserted.


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
Insert Paste Mike-Lodi Excel Worksheet Functions 2 January 24th 10 10:24 AM
Paste or insert data before and after cel contents New Expressor Excel Discussion (Misc queries) 4 February 17th 09 07:41 PM
What does InsertNameLabel & InsertNamePaste do? Studebaker Excel Discussion (Misc queries) 2 June 12th 08 04:13 AM
Paste and Insert Schwimms Excel Discussion (Misc queries) 1 June 6th 07 09:20 PM
insert and paste in one step KathyinCincinnati Setting up and Configuration of Excel 1 December 2nd 04 12:30 AM


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