19.5. Basic Trouble-Shooting for Excel Connections

If you cannot get a connection working in Excel, there are a couple of things you can check:

Also be sure these initial points are covered:

Messages from Excel

When you save and close a spreadsheet connected to the DataHub instance and then attempt to reopen it, you may get one or more messages, depending on your security settings in Excel, or other circumstances. Here's a summary of each message, and what to do:

This document contains macros. Enable them?

Click Enable Macros.

This workbook contains links. Update them?

Click Update. If the DataHub instance is already running, all the links should then update automatically. If not, you may get a #REF! entry in some cells, and the next message (see below) will probably appear.

Remote data not accessible. Start a DataHub instance?

Click No. At this point the best thing to do is close the worksheet, start the requested program, and then reopen the worksheet. When you update the spreadsheet (see above) this time you won't get any #REF! entries.

Excel not accepting DDE client connection

When using a DataHub instance with Excel for the first time, you may encounter this message:

Outgoing DDE Client connection failed...

This is likely due to Excel configuration. In Excel, go to the Options menu, and select Advanced. There, under the General heading, ensure that the box Ask to update automatic links is not checked.

Excel not updating

The default settings in Excel allow you to drag and drop from a DataHub instance into your spreadsheet and see the data updating automatically. Sometimes however the Excel configuration may have been changed so that you do not see this. For example, if you drag a data point into Excel and you get the first value, but then nothing after that, you may want to check the following settings.

  1. For newer versions of Excel, in the File menu go to Options > Formulas > Calculation options.

    1. Ensure that the Automatic option in Workbook Calculation is selected.

    2. Go to Advanced > When calculating this workbook

    3. Ensure that the Updata links to other documents option is selected.

  2. In older versions of Excel, from the Tools menu, choose Options to open the Options window.

    1. Ensure that the Automatic option in Calculation is selected.

    2. Ensure that the Update remote references option in Workbook options is selected. Then close the Options window.

  3. From the Edit menu, choose Links to open the Edit Links window.

  4. Ensure that the Automatic option for Update is selected. Then close the Edit Links window.