View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
v_gyku[_2_] v_gyku[_2_] is offline
external usenet poster
 
Posts: 1
Default delete hyperlinks from graphical objects in excel sheet


I am trying this coe :


Code
-------------------

ActiveSheet.Shapes("Organization Chart").Select
Set Shp = Selection.ShapeRange




For i = 1 To Shp.DiagramNode.Diagram.Nodes.Count
Set IShp = Shp.DiagramNode.Diagram.Nodes(i).Shape
On Error Resume Next
If IShp.Hyperlink.Address < "" Then
IShp.Hyperlink.Delete
End If
On Error GoTo 0
Next i

-------------------

--
v_gyk
-----------------------------------------------------------------------
v_gyku's Profile: http://www.msusenet.com/member.php?userid=521
View this thread: http://www.msusenet.com/t-187107080