I have created a connection between Excel and SQL Server using a VBA macro but am having some difficulty with the connection string - specifically the Initial Catalog parameter.
When I run the following, my connection is fine and I can copy data into Excel by referring to the full table path ([dbname].[dbo].[tablename]).
{conn.open = "Provider=SQLOLEDB;Data Source=" & Server_Name & ";Trusted_connection=yes"}
However, when I run a different version of the connection string (below), the connection fails with the following error:
{"Provider=SQLOLEDB;Data Source=" & Server_Name & ";Initial Catalog=" & Database_Name & ";Trusted_connection=yes"}
The error therefore appears to be in the initialising of the target database - I am not an admin user, but don't understand why the login would fail since I have access to the database and can connect to the server fine. Any help would be appreciated.

Database_Name? It says it cannot open it. Is it real? Does it have restrictions?