How to solve The Range Does not exist?

I have this program to extract the number of students enrolled from this URL. https://www.udemy.com/curso-de-solidworks-desde-cero-y-completo/

This is the program that works:
DataScrapUdemy.xaml (9.9 KB)

But, when I change the URL and update the selector, appear the message The range does not exist

The program that doesn’t work:
DataScrapUdemyError.xaml (9.9 KB)

And this is the error, that I want to solve:

The range does not exist.

Thank u for your support.

I tested your Write Range and it seems to be working.
The only thing I can think of right now is that your Excel file is opening with some popup message, but you should be able to see this running it from Studio.

Thanks for your response.

You test the DataScrapUdemyError.xaml (9.9 KB)
?

For me only work the xaml (DataScrapUdemy) the DataScrapUdemyError Not work