its depend some time data in 5 line some data is 7 line.

or you can create a text box where I can enter the range.