Hi @oshan,
Here you are reading the excel using read range and store the data in a datatable.
Then iterating on the datatable using for each.
And entering the data in to web form.
Right?
I think this is the only way you can in this case.
One way to improve the process speed is by communicating with the webform using API, if available.