Skip to content

excel picture set

zmworm edited this page Mar 18, 2026 · 51 revisions

Excel: Picture - set

Modify an existing picture's properties.

Path: /{SheetName}/picture[N]

Properties

Property Accepted Values Description
x number Update horizontal position
y number Update vertical position
width number Update width
height number Update height
alt string Update alt text

Examples

officecli set data.xlsx /Sheet1/picture[1] --prop width=500 --prop height=350
officecli set data.xlsx /Sheet1/picture[1] --prop x=3 --prop y=5
officecli set data.xlsx /Sheet1/picture[1] --prop alt="Updated logo"

Based on OfficeCli v1.0.6

Clone this wiki locally