#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Removing Links

I have old links in a document that no longer exist however the file still
looks for them...... How can I deleted them.

Note: Data, Edit Connections, delete does not work

I use Excel 2007

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 320
Default Removing Links

Try looking in the defined names collection.


"Curtis" wrote in message
...
I have old links in a document that no longer exist however the file still
looks for them...... How can I deleted them.

Note: Data, Edit Connections, delete does not work

I use Excel 2007

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Removing Links

Do you mean DataEdit Links does not work?

Do you see the links in the dialog but cannot "break links"?

Perhaps the links are in defined names?

FormulasName Manager..............anything in there?


Gord Dibben MS Excel MVP

On Wed, 4 Nov 2009 11:04:02 -0800, Curtis
wrote:

I have old links in a document that no longer exist however the file still
looks for them...... How can I deleted them.

Note: Data, Edit Connections, delete does not work

I use Excel 2007

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default Removing Links

Use this code to break all links:

Sub UseBreakLink()
Dim astrLinks As Variant
astrLinks = ActiveWorkbook.LinkSources(Type:=xlLinkTypeExcelLi nks)
For i = 1 To UBound(astrLinks)
ActiveWorkbook.BreakLink _
Name:=astrLinks(i), _
Type:=xlLinkTypeExcelLinks
Next i
End Sub

http://www.anthony-vba.kefra.com/vba/vbabasic1.htm
http://www.rondebruin.nl/code.htm


HTH,
Ryan--

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Gord Dibben" wrote:

Do you mean DataEdit Links does not work?

Do you see the links in the dialog but cannot "break links"?

Perhaps the links are in defined names?

FormulasName Manager..............anything in there?


Gord Dibben MS Excel MVP

On Wed, 4 Nov 2009 11:04:02 -0800, Curtis
wrote:

I have old links in a document that no longer exist however the file still
looks for them...... How can I deleted them.

Note: Data, Edit Connections, delete does not work

I use Excel 2007

Thanks


.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Intermediary Links FARAZ QURESHI Excel Discussion (Misc queries) 0 January 3rd 09 07:01 AM
Locating Links and Removing rmcompute Links and Linking in Excel 1 May 21st 07 02:12 PM
Removing External Links MarkN Excel Worksheet Functions 0 June 22nd 06 04:47 AM
Removing links Dino Excel Worksheet Functions 2 October 5th 05 05:11 PM
Removing links to other worksheets from within a workbook rjb Excel Discussion (Misc queries) 2 December 9th 04 08:04 AM


All times are GMT +1. The time now is 11:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"