Skip to main content

AddPictureToCell

Inserts an image into a specified cell of an Excel worksheet with configurable size and position.

Core Functions

  • Adds an image to an Excel worksheet
  • Controls picture size and placement within the sheet or cell range

Inputs

  • FilePath:Specifies the file path of the Excel file where the picture will be added.

  • Type:: String

  • WorksheetName:Specifies the name of the worksheet where the picture will be inserted.

  • Type:: String

  • Cell: Specifies the target cell where the picture will be placed.

  • Type:: String

  • PicturePath:Specifies the file path of the image to be inserted.

  • Type:: String

  • Height:Defines the height of the inserted picture.

  • Type:: String

  • Width:Defines the width of the inserted picture.

  • Type:: Integer

  • Left:Defines the horizontal position of the picture relative to the worksheet.

  • Type:: Integer

  • Top:Defines the vertical position of the picture relative to the worksheet.

  • Type:: Integer

  • IsRangeSizes:Determines whether the picture size automatically fits the target cell range.

  • Type:: Boolean

Outputs

  • Output: No output is returned by this activity.
  • Type:: None

Short Technical Summary

An Excel manipulation activity that inserts an image into a specific cell or position with optional automatic sizing based on the cell range.