Hi
The result I need is in column LV and was manually entered.
Column LW are groups of matching numbers and each group is separated by a decimal number.
The groups will change size.
LV and LW are helper columns and my goal is to print sheets without breaking a group of numbers.
Each sheet is 56 rows.
The count in LU will try to reach 56 but it cant end in the middle of a group of matching numbers in LW.
The count always ends at a decimal number. The next row will start at 1 again
Every number 1 will represent a page break. I have the code that will put a page break at each number 1
In my example, the count stopped at 48 and the next row started at 1 again.
Boy I tried hard to have this make sense.
I would prefer formulas but VB is ok!
File attached
I appreciate you!
Bookmarks