ExternalConnection property. Specifies what the spreadsheet application should do when a connection fails. The default value is ReConnectionMethodType.Required...Create a new workbook Workbook workbook = new Workbook (); try {...ExternalConnection connection = workbook . DataConnections [ 0 ]; //...