Fix broken links to data

If your workbook contains a link to data in a workbook or other file that was moved to another location, you can fix the link by updating the path of that kildefil. If you can't find or don't have access to the document that you originally linked to, you can prevent Excel from trying to update the link by turning off automatic updates or removing the link.

Vigtigt: sammenkædet objekt are not the same as hyperlinks. The following procedure will not fix broken hyperlinks. To learn more about hyperlinks, see Create, edit, or remove a hyperlink

Do any of the following:

Fix a broken link

Advarsel: This action can't be undone. You might want to save a backup copy of the workbook before you begin this procedure.

  1. Open the workbook that contains the broken link.

  2. On the Edit menu, click Links.

    The Links command is unavailable if your workbook does not contain links.

  3. In the Source file box, click the broken link that you want to fix.

    Bemærk: To fix multiple links, hold down KOMMANDO , and then click each link.

  4. Click Change Source.

  5. Do one of the following:

To

Do this

Fix a broken link to a sheet in another workbook

In the Open dialog box, locate the workbook, and then click Change.

Fix a broken link to a workbook or other Office document

Type the new name or location for the document in the Change links to text box, and then click OK.

Turn off automatic updates for linked data

  1. Open the workbook that contains the broken link.

  2. On the Edit menu, click Links.

    The Links command is unavailable if your workbook does not contain links.

  3. In the Source file box, click the broken link that you want to fix.

    Bemærk: To fix multiple links, hold down KOMMANDO , and then click each link.

  4. Click Manual.

Remove a broken link

When you break a link, all formulas that reference the source file are converted to their current value. For example, if the formula =SUM([Budget.xls]Annual!C10:C25) results in 45, the formula would be converted to 45 after the link is broken.

  1. Open the workbook that contains the broken link.

  2. On the Edit menu, click Links.

    The Links command is unavailable if your workbook does not contain links.

  3. In the Source file box, click the broken link that you want to remove.

    Bemærk: To remove multiple links, hold down KOMMANDO and click each link.

  4. Click Break Link.

See also

Import data from a CSV, HTML, or text file

Del Facebook Facebook Twitter Twitter Mail Mail

Var disse oplysninger nyttige?

Fantastisk! Har du mere feedback?

Hvordan kan vi forbedre det?

Tak for din feedback!

×