S
shilpa r
Hi,
I am trying to insert a diagram using adddiagram it is showing the
error in excel 2007 same code works in excel 2003
My code is below
Dim wksActiveSheet As Worksheet
Dim shDiagram As Shape
Set wksActiveSheet = ActiveSheet
Set shDiagram = wksActiveSheet.Shapes.AddDiagram( _
Type:=msoDiagramRadial, _
Left:=20, Top:=40, _
Width:=400, Height:=200)
Any ideas on how to
programatically add a diagram in excel 2007 ?
Thanks
*** Sent via Developersdex http://www.developersdex.com ***
I am trying to insert a diagram using adddiagram it is showing the
error in excel 2007 same code works in excel 2003
My code is below
Dim wksActiveSheet As Worksheet
Dim shDiagram As Shape
Set wksActiveSheet = ActiveSheet
Set shDiagram = wksActiveSheet.Shapes.AddDiagram( _
Type:=msoDiagramRadial, _
Left:=20, Top:=40, _
Width:=400, Height:=200)
Any ideas on how to
programatically add a diagram in excel 2007 ?
Thanks
*** Sent via Developersdex http://www.developersdex.com ***