06-16-2010 06:51 AM
Hi ,
I'm using CVI 9.0 .
I'm trying to add my Excel report a Rectangle Shape and Line shape , i'v tryied to add it using OLEObject with no luck...
is there an example ? or some guide ?
Thanks
Solved! Go to Solution.
06-17-2010 04:48 PM
Hi KobiKal,
Here is some fairly exhaustive ActiveX examples for Excel with CVI.
Hope this helps!
Regards,
06-18-2010 12:23 AM
Hi Dustin , 10X for the replay
Where are the Examples ?
06-18-2010 12:45 AM
in the menu bar: Help / Find examples...
06-18-2010 08:00 AM
06-18-2010 08:18 AM - edited 06-18-2010 08:19 AM
KobiKal,
These examples will be good to check out as well:
Regards,
06-23-2010 12:48 AM
Hi Dustin ,
I know this examples and before i'v posted mt question I'v my Report with them .
Everything is complete except of one thing i am trying to add A simple rectangle to the Work Sheet But still with no luck .
What i'm trying to do is shown in the Picture that i'v added to this post .
Maybe you can help me is there and example you know with shapes ? or maybe you have something like that ?
06-24-2010 11:40 AM
Hi KobiKal,
You may be able to write a macro or VBA script that will draw the shape that you can call from CVI. It seems like there is a limitation on creating shapes with the ActiveX interface to Excel. Your best option would be to code a VBA script that you can call via ActiveX.
Hope this helps!
06-29-2010 07:56 AM
10X I'm using macro code and its working great !