Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Insert Row without changing formulas

In Row(1), I have some formulas. As an example, "{=MIN(IF($B
$3:B1994,$B$3:B1994))}" is in Cell B1.
Row(2) contains some headings.

I have code as follows, that copies data from one sheet and inserts
into another sheet:

ss.Rows("2:" & 2 + dta - 1).Copy
ds.Rows(3).Insert Shift:=xlDown

This causes the cell starting and ending values in the Row(1) cells to
increase by one.
I want the Starting value in cell B1 to always be $B$3, but the ending
value to increase by one as I insert new data.

Can someone explain how to do this?
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 new colum, without changing information Penny Excel Worksheet Functions 1 April 19th 07 11:51 PM
Changing the Insert Row / Column Default Mr. Low Excel Discussion (Misc queries) 4 October 23rd 06 05:25 PM
Macro to insert copy and insert formulas only to next blank row bob Excel Programming 0 June 30th 06 12:02 PM
Automatically insert time without changing. Joker Excel Discussion (Misc queries) 1 February 16th 06 03:27 PM
how do I insert a row without the formula changing? BertiesMum Excel Discussion (Misc queries) 2 November 16th 05 10:10 PM


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

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

About Us

"It's about Microsoft Excel"