Send Multiple HotKeys dimanic

Hello to all.
I have a question, maybe a simple one, but I don’t know how to solve it.
In each cell, in each row, I have to enter a value.
Currently the bot works with a for each row loop, so it starts scrolling through all cells of all rows for data input.
It works, but it is unstable when there are many lines. (over 40)
Also not to be overlooked is that it is a flow that takes a lot of time.

image

the Bot works on ServiceNow.
There is a way to fill in all cells, column by column.

I position myself on the first cell then send hotkey SHIFT + CTRL
and then I have to click the DOWN key for the number of lines on the monitor.

It is not a problem to count the lines, but I don’t know how to create the dynamic SEND command multiple of the DOWN key.
In this example, there are only 4 lines, so the command would be:
SHIFT + CTRL then DOWN + DOWN + DOWN + DOWN
but what if they were 30?
How can I create this operation dynamically?

thanks…
Aaron