VBA to delete link to inserted image
Hi Isabelle
thanks for the quick response. I was wondering if this will also work if the link is to an inserted object, as these aren't hyperlinks (I don't think they are!?)?
Steve
On Monday, 10 October 2016 09:49:41 UTC+1, isabelle wrote:
hi Steve,
Sub Macro1()
On Error Resume Next ' for those who have no link
For Each sh In ActiveSheet.Shapes
sh.Hyperlink.Delete
Next
End Sub
isabelle
Le 2016-10-10 Ã* 04:28, Steve a écrit :
I have a worksheet which contains a few hundred pictures which have been
inserted with "Link to file." I want to keep the pictures but NOT have them
linked. So potentially have vba that copies each picture, then pastes it
without the link . . . but I'm sure there's a better way.
Can anyone help please?
Steve
|