User (Legacy) Posted July 27, 2000 Report Share Posted July 27, 2000 I need to remove an annotation text object from a list, and I search for it by the text it contains. When I find the one I'm looking for, it kills the whole list of annotation objects. Here's some sample code if that will help. I'm using the latest service pack of ChartFX98 and VB6sp4. index = 0 For Each i In AnnotX If i.ObjectType = OBJECT_TYPE_TEXT Then If i.Text = "Text to Remove" Then AnnotX.Remove index End If End If index = index + 1 Next i Thanks, Fernando Vilas fvilas@iname.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.