Skip to main content

Insert Image into Cell

Command description

Inserts an image at a specified spreadsheet cell and can optionally adjust the row height and column width.

Command Input Parameters

input parametersInput parameter typeDescription
Excel ObjectExcelAppSpreadsheet object in which to insert the image
File LocationstrFull path to local file, for example C:\xx
Row NumberstrOne-based row number; -n means the nth row from the bottom
Column NamestrColumn letter such as A or a one-based column number; -n means the nth column from the right
Row HeightnumberSpecify the height of the row. The height is not modified by default.
Column WidthnumberSpecify the width of the column. The width is not modified by default.
sheetstrWorksheet name. Defaults to the active worksheet

Command Output Parameters

None