I fear you do not want to check whether a connection exists or not or but whether the connection can be established or not. You can only check that by connecting.... and then you are back to what you want to avoid.
Why would the connection fail, once it worked ?

You can always check for errors (and suppress error messages) with

on error resume next

if err.code <>0 then.....