Hi all!

Need advise on how to do following - in VB .net recreating msgraphs and dumping them into a word document one page at a time

VB Code:
  1. Dim shp As Word.Shape
  2.  shp = _wordDocument.Shapes.AddOLEObject(ClassType:="MSGraph.Chart.8")
  3. chartOptions.UpdateChart(shp.OLEFormat.Object) 'works with PowerPoint and Excel

Code above works fine if we have only one chart. If more then one, she crashes causing me an incredible amount of pain.

Any help will be greatly appreciated

i16978