Skip to main content

Export Chart as Image

Excel·v1.11.1
ExcelCharts and PivotsSystem access

Write a chart out as a picture, for an email or a document where the reader will not have the workbook. Needs Windows with Microsoft Excel installed

Inputs

NameTypeRequiredDefaultDescription
Excel Instance
excelInstance
variableRequired
Sheet Name
sheetName
stringOptionalThe sheet the chart is on. Leave empty for the first sheet
Chart Name
chartName
stringOptionalLeave empty when the sheet has only one chart
Image File Path
imagePath
fileRequiredThe picture to write, such as C:\Reports\chart.png
Format
imageFormat
enumOptionalLeave unset to take it from the file name
PNGJPGGIF
Output Variable
outputVariable
variableOptionalChartImagePath

Output

$outputVariableString

The path of the picture that was written

Compatibility

WindowsLinuxAttendedUnattended

Related activities