Writing in excel sheet's and checking for empty row

Hi,
I write some data in Excel but in a different excel Sheet, but I have data that goes in the some sheet. How can I make sure that if data exists in first row that robot will write in next empty row?

Ty