okay then
Have you tried to get the count of the rows in excel and giving a if condition to it
i.e, Product List is the list of rows in Excel right?
If Yes, You can do like
Read Range and store to a variable “DT”
If DT.Rows.Count>9 Then Click on the Next Window Else Continue on process
If No ,It is in the Website ?
If Yes.
Data Scrapping store to a variable “DT”
If DT.Rows.Count>9 Then Click on the Next Window Else Continue on process