Removing a deleted Graph

Rick Judge

New Member
Joined
Dec 27, 2003
Messages
2
I am working on a spreadsheet given to me by another person. The person asked me to look at the sheet and fix it so that it no longer promts the user to "update links" when the file is opened. What I have found is that there are several lines in the spreadsheet. These lines are not borders and they are not condensed text boxes. My best guess is that they indicate the location of a graph that existed but the rows surrounding the graph have been deleted and thus all that remains of the graph is this line. I'm also guessing that this graph contains links to another spreadsheet. I can see the spreadsheet name through the edit links function but I cannot find the links to that spreadsheet anywhere in the spreadsheet I am working on. I have literally gone through every cell looking for links to an outside workbook and have found none, therefore the only thing I can think is that links are in these graphs (that are now only represented by a single line) and I have no idea how to get to them or delete them. Can you help me out. Thanks
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
That did it. Thank you very much. I downloaded the FileLink.zip file, ran it and the links are gone. I still have the lines from the graphs, but I can live with those. Thanks again.
 
Upvote 0
You are welcome. Glad to be of help. As, I'm sure, is Bill.
Rick Judge said:
That did it. Thank you very much. I downloaded the FileLink.zip file, ran it and the links are gone. I still have the lines from the graphs, but I can live with those. Thanks again.
 
Upvote 0
Rick -

Those lines are in fact charts with zero thickness. Even if you select and delete a range of cells that completely surrounds a chart, the chart remains. Click on the Select Objects button (the cursor arrow on the Drawing toolbar) and select a rectangle around the "lines" you want to delete. Then Delete them.

Or in the Immediate window of the VB Editor, type this line:

ActiveSheet.ChartObjects.Select

Then Shift-Click the charts you want to save, and delete the rest.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______
 
Upvote 0

Forum statistics

Threads
1,203,326
Messages
6,054,745
Members
444,748
Latest member
knowak87

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