How can I find the name of all tables in Excel?

That screenshot doesn’t show us what the error message is. Give us the first few red lines in your Output (in other words, scroll up to the beginning of the error)