I have an excel spreadsheet (call it SS-A) connected to a data source which is another excel spreadsheet (call it SS-B). I also have another spreadsheet (call it SS-C) identical to SS-B. If there is an error in the connection to SS-B, I want SS-A then to connect to SS-C.
Thus I would like something like this,
If SS-B Connection Error Then
connect to SS-C
ELSE
connect to SS-B
End If
I am not sure how to implement something like this using Excel VBA, because the result, whether the connection is SS-B or SS-C must be placed in the same sheet in SS-A.