Right-click context menu of worksheet cell: Insert Images from Files
Insert an image into a worksheet cell
1. insertimg fname:=c:\pepper.bmp;
2. insertimg fname:=c:\car.bmp orng:=[Book1]Sheet1!col(1)[2];
Please refer to the page for additional option switches when accessing the x-function from script
Input
string
int
Output
Range
See the syntax here.
This X-Function inserts images from files into worksheet cells. When user double-clicks on the cell that has an inserted image, the image will be opened in a matrix window.
Note that images embedded in worksheet can be processed by the X-Functions which operate on images. When an inserted image is selected, the Image menu will be enabled.
insertGraph, insertNotes, insertSparklines, insertArrow, insertVar