excel - Inserting a formula into variable number of rows -


So far I have been able to create a search feature that scans a column and collects rows in an array . Then I print the array in another sheet to create a table. I do this with many parameters which mean that I get different arrays with different sizes.

For my problem I want to make a calculation for each line ActiveCell.FormulaR1C1 = "= TRUNC ((RC [-5], RC [-1]) / 7" / Code>. How do I create a loop which is suitable for how many lines I

  I = 1 for NS - 1 sheets ("datasheet")  

Cell (Arstatat (i), phase), sheets ("raw list"). Sheets ("Raw List") Sheets ("Raw List"). Room (Arststall) Sheet ("Raw List"), Sheets ("Raw List"). Room (Aristart (i), Toiimp Indocol), sheets ("raw list"). Room (Aristocrat) (I) , TucantraCrol), Sheets ("raw list"). Cell (Arrest (I), Toulectedacol.) Copy Cell (R, 1). Acctsheets Paste with selection .Interior .Pattern = xlNone .TintAndShade = 0

Thanks for any help!

EDIT: This shows how it An image has been added to show that it appears. Enter image details here

If there is an interval, then what we use at work is not a simple but very beautiful solution in the adjacent pillars Attach some kind of markers Right. For example, we "END" add to add or so sales of the same room, but you're comparing the column, call her + 1 calls - one either.

There will be another solution that the next element is also empty, but it will only work if you have an interval.

Finally, I see that the final solution is that when you are on the blank, use XLdown and if you close the last cell in 65535 in 2003 and about a million in 2007, Memory works right me, so you are finished.

Comments