View Single Post
  #4   Report Post  
TimLeonard TimLeonard is offline
Member
 
Posts: 46
Default

First off thank you very much for the reply, I knew it was something simple but I just couldn't find it...

Quote:
In your example, you show the sequence ending at those values, not starting. Please clarify.
I was referring to how the script functions...It starts at the bottom of the column and looks for the missing values and then adds it.

The intended function...
Ultimately the intent is to compare a database on two separate worksheets. One database is manually updated or modified and the other is exported from a field panel and only contains what is programmed in the panel. That’s why this script is adding the missing row values to the field database so that the two worksheets will match, then a comparison can be made between the worksheets and display the differences on a third worksheet.

For the ability to verify the number sequence will start at LxxD159 & LxxM159 respectively, where xx ranges from 1 to 10....
The panel supports the capacity of 159 D's and 159 M's on up to 10 different loops. The manually updated worksheet already has the values ranging from 1 to 159. Therefore I was looking for a way to verify in the panel worksheet the quantity of loops and then add the missing values starting at 159 and moving backwards through the columns so the worksheet rows will match for the comparison. BTW, the quantity of loops can coms from a column on the panel worksheet

I hope this is understandable...

Last edited by TimLeonard : February 5th 13 at 10:56 PM Reason: add info