Deleting links in Excel 2000

billfinn

Board Regular
Joined
Jun 7, 2018
Messages
114
Office Version
  1. 2016
Platform
  1. Windows
I have been working on this spreadsheet for a few months and it is just about ready for prime time. Unfortunately it has decided in the last couple days that it has links and it asks every time I open it about refreshing them. The links are phantom and don't exist anywhere except in the warped mind of my spreadsheet. I want to delete the links but am using Excel 2000 (don't ask) and that is not an option. If I open the file in Excel 2010 using compatibility mode it says there are no links. I tried to connect to 3 or 4 web pages that had options and all of the sebpages are nonexistent. Any thoughts or suggestions would be very much appreciated. I simply cannot copy, paste special values as it would take at least a couple weeks to make things work again. I am assuming that there is a better way to get rid of these phantom links and that someone on here can point me in the better direction.
Thanks much
Bill
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Bill I would consider 2 options. The following VBA code would look to delete all links in a workbook (workbook needs to be open). If you want to check manually you can use the Find Replace option. Ctrl & H search for [ (square bracket), replace all with nothing. Alter the Search for the whole workbook then use replace all.

Sub DeleteLinks1A()
'Remove all links in a workbook
Dim wbK As Workbook
Set wbK = Application.ActiveWorkbook
If Not IsEmpty(wbK.LinkSources(xlExcelLinks)) Then
For Each link In wbK.LinkSources(xlExcelLinks)
wbK.BreakLink link, xlLinkTypeExcelLinks
Next link
End If
End Sub
 
Upvote 0
Trevor,
I tried running this macro with no difference made. I ended up downloading the Find Links add in from Bill Maranville. Worked like a charm.
Thanks,
Bill
 
Upvote 0
Thanks for letting me know you have found a solution Bill :) Sorry the code didn't work for you.
 
Upvote 0

Forum statistics

Threads
1,215,676
Messages
6,126,168
Members
449,296
Latest member
tinneytwin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top