Re: The table name you entered doesn't follow System object-nameing rules
What's the proplem with your code is that you make a query for a remote database without a direct link. As I don't know a way to execute the transferspreadsheet command in the remote database this code wil probably always fail.
As a workaround you could create a temporary linked table to your remote database in the one where your code is so you can work with a local query.
What's the proplem with your code is that you make a query for a remote database without a direct link. As I don't know a way to execute the transferspreadsheet command in the remote database this code wil probably always fail.
As a workaround you could create a temporary linked table to your remote database in the one where your code is so you can work with a local query.