LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

picture on excel using ActiveX

I tried to put a jpg picture on excel along with some other information (string format). I want to use activeX because I don't have report generation toolkit for MSOffice. I read in the discussion forum about the way to put jpg on excel (someone else has the same question as me), it said I should make a shape object and select addpicture method, but I do not know how to get a shape object. Does anyone know how?
0 Kudos
Message 1 of 2
(2,764 Views)
There is no need to flatten the image to place the picture as a shape in Excel. The AddPicture method takes the JPG filename as an input.

From the Excel.Worksheet wire:
Property Node, select Shapes
cascade into Invoke Node, select AddPicture
From there you can specify the filename and location on the worksheet. This will add the picture as a new shape to the worksheet.

Michael
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
Message 2 of 2
(2,764 Views)