- You do not need to get text for the key word because you are already having it in the variable for you , because you did input the data in search bar.
- Before pasting the datatable to excel add a blank row using add data row so that a blank row is added. Or while pasting the data count the number of rows and paste the next table leaving one row by incrementing the count by 1
Hope this is what you are trying to do. If not happy to help
cheers