LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 154
Default Not Sequencing

JAD,

These seem like the cells are based on formulas, similar to A1: 1, A2: A1+1.
With that said, if you delete a row, the row below the deleted will need the
formulas reassigned with the correct Formula. So, if you delete row 2, you
will need row 3 to reassign the formulas to row 1.
A1: 1
A2: A1+1 (2)
A3: A2+1 (3)

Delete Row 2:
A1: 1
A3: A2+1 (3) will need to change to A2: A1+1 (2)

Only the one row will need to be changed, it will affect all rows below it.

--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''Yes'' below.


"JAD" wrote:

I have a worksheet that contains (5) rows as a default (B21 thru B25). If the
user needs more rows, he left clicks on an icon which adds another three rows
to the existing (5) rows (B21 thru B28). If the user hits the icon again,
another (3) rows are added. In addition to adding (3) rows, the first new row
looks at the last existing row to pick up on the last ID number which
identifies one row from the other. As an example, if the last existing row ID
was 01.005, when the user adds another (3) rows, the next new row ID will be
01.006 followed by 01.007 and then 01.008. In addition to the ID column
updating the row sequence, I also have other columns that also pass on their
values to the next new row. To accomplish this, if the last row was B25, the
new row will be programmed to look at the cell above and add 1 to it, as an
example of the ID column. Finally the problem. If I have a worksheet in which
multiple rows were added, let's say (25) and the new row length is from B20
to B45 and I decide to delete some or any rows rows between B20 and B45, I
receive a #REF! fault that starts at the row just below the first row I chose
to delete all the way down to the end. What can I do to make sure that when
any row or groups of rows are deleted, the data from the existing row left
will be copied to the rows below? Any help would be appreciated. Thank You,
JAD

 
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
Programmable Column Sequencing? G Excel Discussion (Misc queries) 2 May 27th 10 09:56 PM
automatic number sequencing? Joe the exceler Excel Worksheet Functions 1 January 7th 09 11:55 PM
sequencing numbers barb Excel Programming 5 July 7th 08 10:56 PM
Sequencing of projects Daniel Excel Discussion (Misc queries) 1 May 23rd 07 12:27 AM
Row Sequencing Mark Excel Worksheet Functions 8 August 18th 05 06:33 PM


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